]> code.ossystems Code Review - openembedded-core.git/commit
linux-yocto/4.1: fix musb compilation error
authorBruce Ashfield <bruce.ashfield@windriver.com>
Fri, 27 May 2016 16:18:35 +0000 (12:18 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 May 2016 14:56:48 +0000 (15:56 +0100)
commitb746223787a0195c3a4d16523003c62ec0ac8451
tree2c8a615c25c6b015c7f22ef83c5baf59449dc774
parente3aa87a5d3a7cbe6f2c835273991a388101b0cde
linux-yocto/4.1: fix musb compilation error

We had a partial musb change merged into the 4.1 tree, which resulted in:

  | kernel-source/drivers/usb/musb/musb_dsps.c:
  In function 'dsps_create_musb_pdev':
  | 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);
  |         ^~

By backporting commit:

  9b7537642cb6a [usb: musb: set the controller speed based on the config setting]

We get our missing structure field, and we can once again build musb.

[YOCTO: #9680]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb
meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb
meta/recipes-kernel/linux/linux-yocto_4.1.bb