]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: Fix tusb6010 compile error on blackfin
authorTony Lindgren <tony@atomide.com>
Fri, 16 Sep 2016 14:24:44 +0000 (09:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Sep 2016 14:29:41 +0000 (16:29 +0200)
commit14ea87a191afb5e89553c19d39dc86c252f7d3a5
tree4c950d1b1aa356e6dc021f1431631853267178fe
parente60d3b229a48537c7acbf65c5ffb04de2d0a30bd
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>
drivers/usb/musb/Kconfig