aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/musb/Makefile
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@nokia.com>2010-03-12 10:29:11 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-20 13:21:32 -0700
commit7f7f9e2a5af9e30c6a0c6743ac874f67e2ef4b72 (patch)
tree3d7fae6e559868e3ac110b3973650198458a815e /drivers/usb/musb/Makefile
parent6ddc6dae4ab559b648bc348e3a48e113e92ab4a2 (diff)
usb: musb: add debugfs support
for now only a simple register dump entry (which can be rather useful on debugging) and a way to start test modes. Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/musb/Makefile')
-rw-r--r--drivers/usb/musb/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/musb/Makefile b/drivers/usb/musb/Makefile
index db7933de17b..a1677f9955a 100644
--- a/drivers/usb/musb/Makefile
+++ b/drivers/usb/musb/Makefile
@@ -42,6 +42,10 @@ ifeq ($(CONFIG_USB_MUSB_HDRC_HCD),y)
musb_hdrc-objs += musb_virthub.o musb_host.o
endif
+ifeq ($(CONFIG_DEBUG_FS),y)
+ musb_hdrc-objs += musb_debugfs.o
+endif
+
# the kconfig must guarantee that only one of the
# possible I/O schemes will be enabled at a time ...
# PIO only, or DMA (several potential schemes).