Explorar o código

ide: fixed section mismatch warning in cmd640.c

Signed-off-by: Chris Frey <cdfrey@foursquare.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Chris Frey %!s(int64=15) %!d(string=hai) anos
pai
achega
8495fb1b8d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/ide/cmd640.c

+ 1 - 1
drivers/ide/cmd640.c

@@ -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);