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)
commited3d6d0ac036bcff6e4649a6f8fb987bb4e34444
tree4c950d1b1aa356e6dc021f1431631853267178fe
parent9395452b4aab7bc2475ef8935b4a4fb99d778d70
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