Section mismatch warning with linux next in usbhs_init_phys()
Hi Roger,
Looks like there's a section mismatch issue in linux next:
WARNING: vmlinux.o(.text+0x2a7b4): Section mismatch in reference from the function usbhs_init_phys() to the function .init.text:usb_bind_phy() The function usbhs_init_phys() references
the function __init usb_bind_phy().
This is often because usbhs_init_phys lacks a __init
annotation or the annotation of usb_bind_phy is wrong.
Can you please take a look?
Also, is the auxclk related patch the only patch missing for USB to work on panda with DT in linux next?
Or are some .dts or .config updates needed also? So far no luck here.
Regards,
Tony
Quoted 11 lines · Tony Lindgren
Hi Roger,
Looks like there's a section mismatch issue in linux next:
WARNING:
vmlinux.o(.text+0x2a7b4): Section mismatch in reference from the functionusbhs_init_phys()to the function .init.text:usb_bind_phy() The functionusbhs_init_phys()references
the function__initusb_bind_phy().
This is often becauseusbhs_init_physlacks a__init
annotation or the annotation ofusb_bind_phyis wrong.Can you please take a look?
already taken care of, should be on today's linux-next:
Signature · 1 line
balbi