ide: fixed section mismatch warning in cmd640.c
PATCH 1/1 ide: fixed section mismatch warning in cmd640.c
Signed-off-by Chris Frey <[email protected]>
--- drivers/ide/cmd640.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/ide/cmd640.c +1 -1
@@ -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 );
Signature · 1 line
1.6.2.5
David Miller
AppliedFrom: Chris Frey <[email protected]>
Date: Tue, 26 Jan 2010 17:10:56 -0500
Quoted 1 line
Signed-off-by Chris Frey <[email protected]>
Applied.
In the future please CC: [email protected] on all IDE patches.
Thanks.
Quoted 20 lines
--- drivers/ide/cmd640.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/ide/cmd640.c +1
-1@@ -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 );Signature · 1 line
1.6.2.5