The kernel fails to build with MACHINE=beaglebone DISTRO=poky-lsb with GCC6. | /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work-shared/beaglebone/kernel-source/drivers/usb/musb/musb_dsps.c: In function 'dsps_create_musb_pdev': | /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work-shared/beaglebone/kernel-source/drivers/usb/musb/musb_dsps.c:750:8: error: 'struct musb_hdrc_config' has no member named 'maximum_speed' | config->maximum_speed = usb_get_maximum_speed(&parent->dev); | ^~ | /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work-shared/beaglebone/kernel-source/drivers/usb/musb/musb_dsps.c:751:16: error: 'struct musb_hdrc_config' has no member named 'maximum_speed' | switch (config->maximum_speed) { | ^~ | /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work-shared/beaglebone/kernel-source/drivers/usb/musb/musb_dsps.c:760:9: error: 'struct musb_hdrc_config' has no member named 'maximum_speed' | config->maximum_speed = USB_SPEED_HIGH; | ^~ Full logs available at http://errors.yoctoproject.org/Errors/Details/68366/.
Looks like I was sent a partial change for some musb fixes, a backport of commit 9b7537642cb6ad400ee4a95114582ba758b3009c Author: Bin Liu <b-liu@ti.com> Date: Wed Sep 9 13:17:23 2015 -0500 usb: musb: set the controller speed based on the config setting Set the Power register HSENAB bit based on musb->config->maximum_speed, so that the glue layer can control MUSB to work in high- or full-speed. Signed-off-by: Bin Liu <b-liu@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com> Should get us the missing structure.
Fixed in oe-core b746223787a0195c3a4d16523003c62ec0ac8451.