]> git.baikalelectronics.ru Git - kernel.git/commit
USB: fix build of FSL MPH DR OF platform driver
authorAnatolij Gustschin <agust@denx.de>
Mon, 18 Apr 2011 20:01:56 +0000 (22:01 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 May 2011 23:59:37 +0000 (16:59 -0700)
commit1590dd0cce03c5f645c95660b23758a95f13fd9e
tree6850e5fe446c6a8a7972555e9d75700a552e18ff
parent626ed05eaa46553ebd609fd59a65d0fdc427f1d0
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 <agust@denx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/Makefile