Skip to content

Commit b703e47

Browse files
vdsaogregkh
authored andcommitted
USB: fix build of FSL MPH DR OF platform driver
When only FSL USB gadget driver is selected in the kernel configuration the MPH DR OF driver for creation of FSL USB platform devices from device tree won't be built. As a result no USB platform devices for MPH DR USB controller will be created at run time and no probing will be done in the fsl_udc_core driver. Add an entry to the Makefile to build the MPH DR OF platform driver if CONFIG_USB_FSL_MPH_DR_OF is defined. Signed-off-by: Anatolij Gustschin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 13b7ee2 commit b703e47

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/usb/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ obj-$(CONFIG_USB_R8A66597_HCD) += host/
2222
obj-$(CONFIG_USB_HWA_HCD) += host/
2323
obj-$(CONFIG_USB_ISP1760_HCD) += host/
2424
obj-$(CONFIG_USB_IMX21_HCD) += host/
25+
obj-$(CONFIG_USB_FSL_MPH_DR_OF) += host/
2526

2627
obj-$(CONFIG_USB_C67X00_HCD) += c67x00/
2728

0 commit comments

Comments
 (0)