]> 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)
commit96ec4e550bb1537ddce6264e976dbde439886afe
tree6429cf56c22367efd376f3779cad50de7b38a12a
parentbfa6fa2a2dfa997f6c80e35808e50464ecfebcda
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