aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ide/cmd640.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/cmd640.c b/drivers/ide/cmd640.c
index 1a32d62ed86..cb11938ba68 100644
--- a/drivers/ide/cmd640.c
+++ b/drivers/ide/cmd640.c
@@ -605,7 +605,7 @@ static void cmd640_set_pio_mode(ide_drive_t *drive, const u8 pio)
605} 605}
606#endif /* CONFIG_BLK_DEV_CMD640_ENHANCED */ 606#endif /* CONFIG_BLK_DEV_CMD640_ENHANCED */
607 607
608static void cmd640_init_dev(ide_drive_t *drive) 608static void __init cmd640_init_dev(ide_drive_t *drive)
609{ 609{
610 unsigned int i = drive->hwif->channel * 2 + (drive->dn & 1); 610 unsigned int i = drive->hwif->channel * 2 + (drive->dn & 1);
611 611