]> err.no Git - linux-2.6/commit
[POWERPC] Move serial_dev_init to device_initcall()
authorOlof Johansson <olof@lixom.net>
Thu, 23 Aug 2007 00:26:37 +0000 (19:26 -0500)
committerPaul Mackerras <paulus@samba.org>
Wed, 12 Sep 2007 18:09:14 +0000 (04:09 +1000)
commitee56c47440ab04c6a35c835a9bcc4193304adf93
tree6f33509df3949d5e06bf27603d883b7dc65745a0
parentfb4f0e8832e0075849b41b65f6bb9fdfa7593b99
[POWERPC] Move serial_dev_init to device_initcall()

With the I/O space rewrite by BenH, the legacy_serial serial_dev_init()
initcall is now called before I/O space is setup, but it's dependent on
it being available.

Since there's no way to make dependencies between initcalls, we'll just
have to move it to device_initcall(). Yes, it's suboptimal but I'm not
aware of any better solution at this time, and it fixes a regression
from 2.6.22.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/legacy_serial.c