Re: [PATCH 1/2] ALSA: Remove __devinit annotation for pxa2xx_ac97_hw_probe to fix section mismatch warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

2012/2/20 Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>:
> On Sun, Feb 19, 2012 at 03:39:18PM +0800, Axel Lin wrote:
>> This fixes below build warning:
>> WARNING: vmlinux.o(.text+0x1e632c): Section mismatch in reference from the function pxa2xx_ac97_probe() to the function .devinit.text:pxa2xx_ac97_hw_probe()
>> The function pxa2xx_ac97_probe() references
>> the function __devinit pxa2xx_ac97_hw_probe().
>> This is often because pxa2xx_ac97_probe lacks a __devinit
>> annotation or the annotation of pxa2xx_ac97_hw_probe is wrong.
>
> This seems like the wrong fix - shouldn't we be adding annotations
> rather than removing them here?
I'll send a new patch to fix it. Thanks.
The change now is in sound/soc/pxa/pxa2xx-ac97.c, so I change the subject to:
[PATCH] ASoC: Add __devinit annotation for pxa2xx_ac97_probe

Axel

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel


[Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [PDAs]     [Linux]     [Linux MIPS]     [Yosemite Campsites]     [Photos]

Add to Google Follow linuxarm on Twitter