]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: debugfs: cope with blackfin's oddities
authorFelipe Balbi <balbi@ti.com>
Wed, 26 Nov 2014 14:01:36 +0000 (08:01 -0600)
committerFelipe Balbi <balbi@ti.com>
Mon, 22 Dec 2014 16:24:08 +0000 (10:24 -0600)
commitec6f85b2b2eb3633ce47d5ec1521d7bc64f5e001
tree6429cf56c22367efd376f3779cad50de7b38a12a
parentc687bb41805a1238a38a086952014d5682516d9d
usb: musb: debugfs: cope with blackfin's oddities

Blackfin's MUSB implementation lacks a bunch of
registers which they end up not defining a macro
for. In order to avoid build breaks, let's ifdef
out some of the registers from our regdump debugfs
utility so that we don't try to use those on
Blackfin builds.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_debugfs.c