diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2010-07-01 10:34:10 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-10-18 02:49:44 -0400 |
commit | 6f7c17f4f91513247dfec52d6968cd70d5251b38 (patch) | |
tree | 56daffd05c022f4869ecf4ffd0b8fa17a4734b05 /drivers/spi | |
parent | 2e768659df35ea337cb57ea3573c918d31e07894 (diff) |
spi/bfin_spi: init early
Some systems using this bus sometimes have very basic devices on them
such as regulators. So we need to be loaded even earlier in case the
devices are used by things such as early board init code. Therefore
register in subsys_initcall().
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi_bfin5xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_bfin5xx.c b/drivers/spi/spi_bfin5xx.c index bd182145bc2c..d17ab37d3f64 100644 --- a/drivers/spi/spi_bfin5xx.c +++ b/drivers/spi/spi_bfin5xx.c | |||
@@ -1466,7 +1466,7 @@ static int __init bfin_spi_init(void) | |||
1466 | { | 1466 | { |
1467 | return platform_driver_probe(&bfin_spi_driver, bfin_spi_probe); | 1467 | return platform_driver_probe(&bfin_spi_driver, bfin_spi_probe); |
1468 | } | 1468 | } |
1469 | module_init(bfin_spi_init); | 1469 | subsys_initcall(bfin_spi_init); |
1470 | 1470 | ||
1471 | static void __exit bfin_spi_exit(void) | 1471 | static void __exit bfin_spi_exit(void) |
1472 | { | 1472 | { |