public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: Fix section mismatch warnings
@ 2006-05-28 13:52 Dirk Behme
  2006-07-04  7:56 ` tony
  0 siblings, 1 reply; 2+ messages in thread
From: Dirk Behme @ 2006-05-28 13:52 UTC (permalink / raw)
  To: linux-omap-open-source

[-- Attachment #1: Type: text/plain, Size: 372 bytes --]


Fix warnings

WARNING: drivers/pcmcia/omap_cf.o - Section mismatch:
reference to .init.text: from .data between '$d' (at offset
0x80) and 'omap_cf_ops'
WARNING: sound/arm/omap/snd-omap-alsa-aic23.o - Section
mismatch: reference to .init.text: from .data between '$d'
(at offset 0x68) and 'aic23_hw_constraints_rates'

Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>


[-- Attachment #2: sections_mismatch_patch.txt --]
[-- Type: text/plain, Size: 882 bytes --]

--- ./sound/arm/omap/omap-alsa-aic23.c_orig	2006-05-28 15:34:02.000000000 +0200
+++ ./sound/arm/omap/omap-alsa-aic23.c	2006-05-28 15:40:52.000000000 +0200
@@ -271,7 +271,7 @@ int aic23_get_default_samplerate(void)
 	return DEFAULT_SAMPLE_RATE;
 }
 
-static int __init snd_omap_alsa_aic23_probe(struct platform_device *pdev)
+static int __devinit snd_omap_alsa_aic23_probe(struct platform_device *pdev)
 {
 	int	ret;
 	struct	omap_alsa_codec_config *codec_cfg;
--- ./drivers/pcmcia/omap_cf.c_orig	2006-05-28 15:32:25.000000000 +0200
+++ ./drivers/pcmcia/omap_cf.c	2006-05-28 15:40:56.000000000 +0200
@@ -203,7 +203,7 @@ static struct pccard_operations omap_cf_
  * "what chipselect is used".  Boards could want more.
  */
 
-static int __init omap_cf_probe(struct device *dev)
+static int __devinit omap_cf_probe(struct device *dev)
 {
 	unsigned		seg;
 	struct omap_cf_socket	*cf;


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



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

* Re: [PATCH] ARM: OMAP: Fix section mismatch warnings
  2006-05-28 13:52 [PATCH] ARM: OMAP: Fix section mismatch warnings Dirk Behme
@ 2006-07-04  7:56 ` tony
  0 siblings, 0 replies; 2+ messages in thread
From: tony @ 2006-07-04  7:56 UTC (permalink / raw)
  To: Dirk Behme; +Cc: linux-omap-open-source

* Dirk Behme <dirk.behme@googlemail.com> [060528 06:53]:
> 
> Fix warnings
> 
> WARNING: drivers/pcmcia/omap_cf.o - Section mismatch:
> reference to .init.text: from .data between '$d' (at offset
> 0x80) and 'omap_cf_ops'
> WARNING: sound/arm/omap/snd-omap-alsa-aic23.o - Section
> mismatch: reference to .init.text: from .data between '$d'
> (at offset 0x68) and 'aic23_hw_constraints_rates'
> 
> Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
> 

> --- ./sound/arm/omap/omap-alsa-aic23.c_orig	2006-05-28 15:34:02.000000000 +0200
> +++ ./sound/arm/omap/omap-alsa-aic23.c	2006-05-28 15:40:52.000000000 +0200
> @@ -271,7 +271,7 @@ int aic23_get_default_samplerate(void)
>  	return DEFAULT_SAMPLE_RATE;
>  }
>  
> -static int __init snd_omap_alsa_aic23_probe(struct platform_device *pdev)
> +static int __devinit snd_omap_alsa_aic23_probe(struct platform_device *pdev)
>  {
>  	int	ret;
>  	struct	omap_alsa_codec_config *codec_cfg;
> --- ./drivers/pcmcia/omap_cf.c_orig	2006-05-28 15:32:25.000000000 +0200
> +++ ./drivers/pcmcia/omap_cf.c	2006-05-28 15:40:56.000000000 +0200
> @@ -203,7 +203,7 @@ static struct pccard_operations omap_cf_
>   * "what chipselect is used".  Boards could want more.
>   */
>  
> -static int __init omap_cf_probe(struct device *dev)
> +static int __devinit omap_cf_probe(struct device *dev)
>  {
>  	unsigned		seg;
>  	struct omap_cf_socket	*cf;
> 

Pushing today.

Tony

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

end of thread, other threads:[~2006-07-04  7:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-28 13:52 [PATCH] ARM: OMAP: Fix section mismatch warnings Dirk Behme
2006-07-04  7:56 ` tony

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