summaryrefslogtreecommitdiffstats
path: root/drivers/ide/cmd640.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-03-03 08:57:59 +0100
committerDavid S. Miller <davem@davemloft.net>2010-03-03 08:57:59 +0100
commit950f564b707ca1b1c5bb94cd1e7d2a0702bfcadc (patch)
tree290cc32af2f8cfd232c57d491733592aed4dbf88 /drivers/ide/cmd640.c
parentdrivers/ide: Fix continuation line formats (diff)
parentide: fixed section mismatch warning in cmd640.c (diff)
downloadlinux-950f564b707ca1b1c5bb94cd1e7d2a0702bfcadc.tar.xz
linux-950f564b707ca1b1c5bb94cd1e7d2a0702bfcadc.zip
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ide-2.6
Diffstat (limited to 'drivers/ide/cmd640.c')
-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 c7d46a3d347a..d2b8b272bc27 100644
--- a/drivers/ide/cmd640.c
+++ b/drivers/ide/cmd640.c
@@ -606,7 +606,7 @@ static void cmd640_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive)
}
#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);