]> git.karo-electronics.de Git - linux-beck.git/commit
USB: EHCI: make all debugging depend on CONFIG_DYNAMIC_DEBUG
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 29 Apr 2016 19:19:56 +0000 (15:19 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 22:31:30 +0000 (15:31 -0700)
commit128f8b3d77149e9f38fb6f52931cf791155d277a
tree4895330cef863067920a665a4f927233c8d0bfd0
parent442ee366bec3cbdaf5794e80f803d87c5787c5d8
USB: EHCI: make all debugging depend on CONFIG_DYNAMIC_DEBUG

The debugging facilities in ehci-dbg.c follow an uneven pattern.  Some
of them are protected by "#ifdef CONFIG_DYNAMIC_DEBUG" and some
aren't, presumably in the hope of having some of the debugging output
available in any configuration.

This leads to build problems when dynamic debugging isn't configured.
Rather than try to keep this complicated state of affairs, let's just
make everything dependent on CONFIG_DYNAMIC_DEBUG.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-dbg.c