diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2010-07-01 16:34:10 +0200 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-10-18 08:49:44 +0200 |
commit | 6f7c17f4f91513247dfec52d6968cd70d5251b38 (patch) | |
tree | 56daffd05c022f4869ecf4ffd0b8fa17a4734b05 /drivers/spi | |
parent | spi/bfin_spi: check per-transfer bits_per_word (diff) | |
download | linux-6f7c17f4f91513247dfec52d6968cd70d5251b38.tar.xz linux-6f7c17f4f91513247dfec52d6968cd70d5251b38.zip |
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) { return platform_driver_probe(&bfin_spi_driver, bfin_spi_probe); } -module_init(bfin_spi_init); +subsys_initcall(bfin_spi_init); static void __exit bfin_spi_exit(void) { |