aboutsummaryrefslogtreecommitdiff
path: root/drivers/ide
diff options
context:
space:
mode:
authorChris Frey <cdfrey@foursquare.net>2010-01-28 06:04:50 -0800
committerDavid S. Miller <davem@davemloft.net>2010-01-28 06:04:50 -0800
commit8495fb1b8d016657133c01a2f258c5f192d2a1b7 (patch)
tree1481918708c0fc5812a12e0bb6579cc460c71e71 /drivers/ide
parentd4ae5415c6f2dd8f14e027c24f09d708f11a8d60 (diff)
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>
Diffstat (limited to 'drivers/ide')
-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)
}
#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);