diff options
author | Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> | 2011-09-21 11:06:57 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:00:57 +0200 |
commit | 5e474534bf1d0c9397d7b751bd1f615237a5b44c (patch) | |
tree | 93ff28f1072535bcbb4d4ee315d22a5ae45cf431 /drivers/tty | |
parent | 1441a474e7002e5d8e9c5e04c8164f91534e7495 (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>
Diffstat (limited to 'drivers/tty')
-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 3618278df03..1a65c2d1093 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -2403,7 +2403,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"); |