aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ppc/mpc8xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ppc/mpc8xx.c')
-rw-r--r--drivers/ide/ppc/mpc8xx.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/ide/ppc/mpc8xx.c b/drivers/ide/ppc/mpc8xx.c
index 8172e813b034..3fd5d45b5e0e 100644
--- a/drivers/ide/ppc/mpc8xx.c
+++ b/drivers/ide/ppc/mpc8xx.c
@@ -839,7 +839,7 @@ void m8xx_ide_init(void)
839 ppc_ide_md.ide_init_hwif = m8xx_ide_init_hwif_ports; 839 ppc_ide_md.ide_init_hwif = m8xx_ide_init_hwif_ports;
840} 840}
841 841
842void __init mpc8xx_ide_probe(void) 842static int __init mpc8xx_ide_probe(void)
843{ 843{
844 u8 idx[4] = { 0xff, 0xff, 0xff, 0xff }; 844 u8 idx[4] = { 0xff, 0xff, 0xff, 0xff };
845 845
@@ -851,4 +851,8 @@ void __init mpc8xx_ide_probe(void)
851#endif 851#endif
852 852
853 ide_device_add(idx); 853 ide_device_add(idx);
854
855 return 0;
854} 856}
857
858module_init(mpc8xx_ide_probe);