• Fabio Estevam's avatar
    ARM: mach-imx/mx31lilly: Fix section mismatches · f07c7d67
    Fabio Estevam authored
    Fix the following section mismatches:
    
    WARNING: vmlinux.o(.text+0x1026c): Section mismatch in reference from the function lilly1131_usb_init() to the variable .init.rodata:imx31_mxc_ehci_hs_data
    The function lilly1131_usb_init() references
    the variable __initconst imx31_mxc_ehci_hs_data.
    This is often because lilly1131_usb_init lacks a __initconst
    annotation or the annotation of imx31_mxc_ehci_hs_data is wrong.
    
    WARNING: vmlinux.o(.text+0x10270): Section mismatch in reference from the function lilly1131_usb_init() to the (unknown reference) .init.rodata:(unknown)
    The function lilly1131_usb_init() references
    the (unknown reference) __initconst (unknown).
    This is often because lilly1131_usb_init lacks a __initconst
    annotation or the annotation of (unknown) is wrong.
    
    WARNING: vmlinux.o(.text+0x10274): Section mismatch in reference from the function lilly1131_usb_init() to the (unknown reference) .init.data:(unknown)
    The function lilly1131_usb_init() references
    the (unknown reference) __initdata (unknown).
    This is often because lilly1131_usb_init lacks a __initdata
    annotation or the annotation of (unknown) is wrong.
    Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
    Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
    f07c7d67
mach-mx31lilly.c 8.4 KB