mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ide: fixed section mismatch warning in cmd640.c
@ 2010-01-26 22:10 Chris Frey
  2010-01-28 14:06 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Frey @ 2010-01-26 22:10 UTC (permalink / raw)
  To: linux-kernel, David S. Miller

Signed-off-by: Chris Frey <cdfrey@foursquare.net>
---
 drivers/ide/cmd640.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/ide/cmd640.c b/drivers/ide/cmd640.c
index 1a32d62..cb11938 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);
 
-- 
1.6.2.5


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ide: fixed section mismatch warning in cmd640.c
  2010-01-26 22:10 [PATCH] ide: fixed section mismatch warning in cmd640.c Chris Frey
@ 2010-01-28 14:06 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-01-28 14:06 UTC (permalink / raw)
  To: cdfrey; +Cc: linux-ide, linux-kernel

From: Chris Frey <cdfrey@foursquare.net>
Date: Tue, 26 Jan 2010 17:10:56 -0500

> Signed-off-by: Chris Frey <cdfrey@foursquare.net>

Applied.

In the future please CC: linux-ide@vger.kernel.org on all IDE
patches.

Thanks.

> ---
>  drivers/ide/cmd640.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/ide/cmd640.c b/drivers/ide/cmd640.c
> index 1a32d62..cb11938 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);
>  
> -- 
> 1.6.2.5
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-28 14:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-26 22:10 [PATCH] ide: fixed section mismatch warning in cmd640.c Chris Frey
2010-01-28 14:06 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®