]> 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)
commite3fac27c6d773da7337f0e3ffcdd83b1162c6dd2
tree4c950d1b1aa356e6dc021f1431631853267178fe
parentf59544bfd3b0316d82af961951ee86293018e84f
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