Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e12cc345 authored by Dmitry Eremin-Solenikov's avatar Dmitry Eremin-Solenikov Committed by Greg Kroah-Hartman
Browse files

USB: omap_udc: fix compilation with debug enabled

parent e5fbab51
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -54,6 +54,7 @@

#include <mach/dma.h>
#include <mach/usb.h>
#include <mach/control.h>

#include "omap_udc.h"

@@ -2310,10 +2311,10 @@ static int proc_otg_show(struct seq_file *s)
	u32		trans;
	char		*ctrl_name;

	tmp = OTG_REV_REG;
	tmp = omap_readl(OTG_REV);
	if (cpu_is_omap24xx()) {
		ctrl_name = "control_devconf";
		trans = CONTROL_DEVCONF_REG;
		trans = omap_ctrl_readl(OMAP2_CONTROL_DEVCONF0);
	} else {
		ctrl_name = "tranceiver_ctrl";
		trans = omap_readw(USB_TRANSCEIVER_CTRL);