mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PATCH] ioc4: Enable build on non-SN2
The SGI PCI-RT card, based on the SGI IOC4 chip, will be made available on Altix XE (x86_64) platforms in the near future. As such it is now a misnomer for the IOC4 base device driver to live under drivers/sn, and would complicate builds for non-SN2. This patch moves the IOC4 base driver code from drivers/sn to drivers/misc, and updates the associated Makefiles and Kconfig files to allow building on non-SN2 configs. Due to the resulting change in link order, it is now necessary to use late_initcall() for IOC4 subdriver initialization. [[email protected]: __udivdi3 fix] [[email protected]: fix default in Kconfig] Acked-by: Pat Gefre <[email protected]> Acked-by: Jeremy Higdon <[email protected]> Signed-off-by: Brent Casavant <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
107d5a72f2
commit
59f148005c
8 changed files with 23 additions and 23 deletions
|
|
@ -2935,7 +2935,7 @@ static void __devexit ioc4_serial_exit(void)
|
|||
uart_unregister_driver(&ioc4_uart_rs422);
|
||||
}
|
||||
|
||||
module_init(ioc4_serial_init);
|
||||
late_initcall(ioc4_serial_init); /* Call only after tty init is done */
|
||||
module_exit(ioc4_serial_exit);
|
||||
|
||||
MODULE_AUTHOR("Pat Gefre - Silicon Graphics Inc. (SGI) <[email protected]>");
|
||||
|
|
|
|||
Loading…
Reference in a new issue