提交 e12cc345 编写于 作者: D Dmitry Baryshkov 提交者: Greg Kroah-Hartman

USB: omap_udc: fix compilation with debug enabled

Signed-off-by: NDmitry Baryshkov <dbaryshkov@gmail.com>
Acked-by: NDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 e5fbab51
...@@ -54,6 +54,7 @@ ...@@ -54,6 +54,7 @@
#include <mach/dma.h> #include <mach/dma.h>
#include <mach/usb.h> #include <mach/usb.h>
#include <mach/control.h>
#include "omap_udc.h" #include "omap_udc.h"
...@@ -2310,10 +2311,10 @@ static int proc_otg_show(struct seq_file *s) ...@@ -2310,10 +2311,10 @@ static int proc_otg_show(struct seq_file *s)
u32 trans; u32 trans;
char *ctrl_name; char *ctrl_name;
tmp = OTG_REV_REG; tmp = omap_readl(OTG_REV);
if (cpu_is_omap24xx()) { if (cpu_is_omap24xx()) {
ctrl_name = "control_devconf"; ctrl_name = "control_devconf";
trans = CONTROL_DEVCONF_REG; trans = omap_ctrl_readl(OMAP2_CONTROL_DEVCONF0);
} else { } else {
ctrl_name = "tranceiver_ctrl"; ctrl_name = "tranceiver_ctrl";
trans = omap_readw(USB_TRANSCEIVER_CTRL); trans = omap_readw(USB_TRANSCEIVER_CTRL);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册