aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/legacy/buddha.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/legacy/buddha.c')
-rw-r--r--drivers/ide/legacy/buddha.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/ide/legacy/buddha.c b/drivers/ide/legacy/buddha.c
index ba64c4b9f918..e97766aef374 100644
--- a/drivers/ide/legacy/buddha.c
+++ b/drivers/ide/legacy/buddha.c
@@ -143,7 +143,7 @@ static int xsurf_ack_intr(ide_hwif_t *hwif)
143 * Probe for a Buddha or Catweasel IDE interface 143 * Probe for a Buddha or Catweasel IDE interface
144 */ 144 */
145 145
146void __init buddha_init(void) 146static int __init buddha_init(void)
147{ 147{
148 hw_regs_t hw; 148 hw_regs_t hw;
149 ide_hwif_t *hwif; 149 ide_hwif_t *hwif;
@@ -243,4 +243,8 @@ fail_base2:
243 243
244 ide_device_add(idx); 244 ide_device_add(idx);
245 } 245 }
246
247 return 0;
246} 248}
249
250module_init(buddha_init);