usb: kill DEBUG compile option
In the drivers that no longer need it, it is removed. It is removed from the Makefile. Drivers not fully converted to dynamic debug have it shifted down into the individual drivers. Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
0b5fa3b21f
commit
1c20163d30
@@ -413,7 +413,7 @@ static int ehci_fsl_mpc512x_drv_suspend(struct device *dev)
|
||||
struct fsl_usb2_platform_data *pdata = dev_get_platdata(dev);
|
||||
u32 tmp;
|
||||
|
||||
#if defined(DEBUG) || defined(CONFIG_DYNAMIC_DEBUG)
|
||||
#ifdef CONFIG_DYNAMIC_DEBUG
|
||||
u32 mode = ehci_readl(ehci, hcd->regs + FSL_SOC_USB_USBMODE);
|
||||
mode &= USBMODE_CM_MASK;
|
||||
tmp = ehci_readl(ehci, hcd->regs + 0x140); /* usbcmd */
|
||||
|
Reference in New Issue
Block a user