ide: fixed section mismatch warning in cmd640.c
authorChris Frey <cdfrey@foursquare.net>
Thu, 28 Jan 2010 14:04:50 +0000 (06:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jan 2010 14:04:50 +0000 (06:04 -0800)
Signed-off-by: Chris Frey <cdfrey@foursquare.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/cmd640.c

index 1a32d62..cb11938 100644 (file)
@@ -605,7 +605,7 @@ static void cmd640_set_pio_mode(ide_drive_t *drive, const u8 pio)
 }
 #endif /* CONFIG_BLK_DEV_CMD640_ENHANCED */
 
-static void cmd640_init_dev(ide_drive_t *drive)
+static void __init cmd640_init_dev(ide_drive_t *drive)
 {
        unsigned int i = drive->hwif->channel * 2 + (drive->dn & 1);