Skip to content

Commit ed3d6d0

Browse files
tmlindgregkh
authored andcommitted
usb: musb: Fix tusb6010 compile error on blackfin
We have CONFIG_BLACKFIN ifdef redefining all musb registers in musb_regs.h and tusb6010.h is never included causing a build error with blackfin-allmodconfig and COMPILE_TEST. Let's fix the issue by not building tusb6010 if CONFIG_BLACKFIN is selected. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Bin Liu <b-liu@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 9395452 commit ed3d6d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/musb/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ config USB_MUSB_DA8XX
8787
config USB_MUSB_TUSB6010
8888
tristate "TUSB6010"
8989
depends on HAS_IOMEM
90-
depends on ARCH_OMAP2PLUS || COMPILE_TEST
90+
depends on (ARCH_OMAP2PLUS || COMPILE_TEST) && !BLACKFIN
9191
depends on NOP_USB_XCEIV = USB_MUSB_HDRC # both built-in or both modules
9292

9393
config USB_MUSB_OMAP2PLUS

0 commit comments

Comments
 (0)