diff options
| author | Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> | 2011-09-21 11:06:57 +0200 |
|---|---|---|
| committer | Jonas ABERG <jonas.aberg@stericsson.com> | 2011-09-29 09:04:12 +0200 |
| commit | ddb1679a6bbfb9e27a09bc8dab9e8874bc04adb9 (patch) | |
| tree | db9ee02fcadab0690b0afec6d87298a2c8e7cc8e | |
| parent | 0f09128dc4c871aabd0092c5f173201c0fe8da11 (diff) | |
serial: amba-pl011: delay driver initialization
During pl011 probe() On u8500 platform, amba bus driver tries to access
regulator driver and fails as the regulator driver is also at arch_init level.
Moving serial driver to the next level but still as early as possible.
Change-Id: I29d23067df9465b3c25f4010dca8af253fe6d070
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32121
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
| -rw-r--r-- | drivers/tty/serial/amba-pl011.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index 9b6b7e22bfc..7035910de79 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -2352,7 +2352,7 @@ static void __exit pl011_exit(void) * While this can be a module, if builtin it's most likely the console * So let's leave module_exit but move module_init to an earlier place */ -arch_initcall(pl011_init); +subsys_initcall(pl011_init); module_exit(pl011_exit); MODULE_AUTHOR("ARM Ltd/Deep Blue Solutions Ltd"); |
