mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 09:13:55 +08:00
usb: udc: lpc32xx: allow compile-testing
The only thing that prevents building this driver on other platforms is the mach/hardware.h include, which is not actually used here at all, so remove the line and allow CONFIG_COMPILE_TEST. Link: https://lore.kernel.org/r/20190809144043.476786-3-arnd@arndb.de Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Sylvain Lemieux <slemieux.tyco@gmail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
23565baece
commit
50ad15282e
@ -45,7 +45,8 @@ config USB_AT91
|
||||
|
||||
config USB_LPC32XX
|
||||
tristate "LPC32XX USB Peripheral Controller"
|
||||
depends on ARCH_LPC32XX && I2C
|
||||
depends on ARCH_LPC32XX || COMPILE_TEST
|
||||
depends on I2C
|
||||
select USB_ISP1301
|
||||
help
|
||||
This option selects the USB device controller in the LPC32xx SoC.
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include <linux/module.h>
|
||||
#include <linux/of.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/prefetch.h>
|
||||
#include <linux/proc_fs.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/usb/ch9.h>
|
||||
@ -35,8 +36,6 @@
|
||||
#include <linux/seq_file.h>
|
||||
#endif
|
||||
|
||||
#include <mach/hardware.h>
|
||||
|
||||
/*
|
||||
* USB device configuration structure
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user