• Felipe Balbi's avatar
    usb: gadget: pxa27x_udc: fix Section Mismatches · 50757b24
    Felipe Balbi authored
    Remove all section annotations to fix the
    following section mismatches:
    
    >> WARNING: drivers/usb/gadget/pxa27x_udc.o(.text+0x597c): Section mismatch in
    reference from the function .pxa_udc_probe() to the function
    .init.text:.udc_init_data.constprop.11()
       The function .pxa_udc_probe() references
       the function __init .udc_init_data.constprop.11().
       This is often because .pxa_udc_probe lacks a __init
       annotation or the annotation of .udc_init_data.constprop.11 is wrong.
    --
    >> WARNING: drivers/usb/gadget/pxa27x_udc.o(.text+0x5a04): Section mismatch in
    reference from the function .pxa_udc_probe() to the function
    .init.text:.pxa_ep_setup()
       The function .pxa_udc_probe() references
       the function __init .pxa_ep_setup().
       This is often because .pxa_udc_probe lacks a __init
       annotation or the annotation of .pxa_ep_setup is wrong.
    Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
    Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
    50757b24
pxa27x_udc.c 66.5 KB