[PATCH 19/21] usb: phy: don't mark usb_bind_phy as __init

Greg Kroah-Hartman gregkh at linuxfoundation.org
Tue Apr 23 13:17:34 EDT 2013


On Tue, Apr 23, 2013 at 06:30:51PM +0200, Arnd Bergmann wrote:
> It makes no sense for a symbol to be both exported and marked __init,
> because any users in modules would be calling this function after
> it gets discarded. Further, this patch revolves a section mismatch
> warning from usbhs_init_phys(), which is intentionally not marked
> __init:
> 
> WARNING: vmlinux.o(.text+0x413f8): Section mismatch in reference from
> the function usbhs_init_phys() to the function .init.text:usb_bind_phy()
> 
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> Cc: Alan Stern <stern at rowland.harvard.edu>
> Cc: Felipe Balbi <balbi at ti.com>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Cc: linux-usb at vger.kernel.org
> ---
>  drivers/usb/otg/otg.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

What tree has this file?  It's not mine :(




More information about the linux-arm-kernel mailing list