diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2008-08-07 08:29:25 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-08-13 20:32:58 -0400 |
commit | e12cc34527dcd945597c860c25aba92883a4a6a4 (patch) | |
tree | 0714e7c05a19c537b9ce098b97abd6377c3ae738 /drivers/usb/gadget/omap_udc.c | |
parent | e5fbab51b4219fbd1dab28666affe38a920b5f7e (diff) |
USB: omap_udc: fix compilation with debug enabled
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/omap_udc.c')
-rw-r--r-- | drivers/usb/gadget/omap_udc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/gadget/omap_udc.c b/drivers/usb/gadget/omap_udc.c index 376e80c07530..574c53831a05 100644 --- a/drivers/usb/gadget/omap_udc.c +++ b/drivers/usb/gadget/omap_udc.c | |||
@@ -54,6 +54,7 @@ | |||
54 | 54 | ||
55 | #include <mach/dma.h> | 55 | #include <mach/dma.h> |
56 | #include <mach/usb.h> | 56 | #include <mach/usb.h> |
57 | #include <mach/control.h> | ||
57 | 58 | ||
58 | #include "omap_udc.h" | 59 | #include "omap_udc.h" |
59 | 60 | ||
@@ -2310,10 +2311,10 @@ static int proc_otg_show(struct seq_file *s) | |||
2310 | u32 trans; | 2311 | u32 trans; |
2311 | char *ctrl_name; | 2312 | char *ctrl_name; |
2312 | 2313 | ||
2313 | tmp = OTG_REV_REG; | 2314 | tmp = omap_readl(OTG_REV); |
2314 | if (cpu_is_omap24xx()) { | 2315 | if (cpu_is_omap24xx()) { |
2315 | ctrl_name = "control_devconf"; | 2316 | ctrl_name = "control_devconf"; |
2316 | trans = CONTROL_DEVCONF_REG; | 2317 | trans = omap_ctrl_readl(OMAP2_CONTROL_DEVCONF0); |
2317 | } else { | 2318 | } else { |
2318 | ctrl_name = "tranceiver_ctrl"; | 2319 | ctrl_name = "tranceiver_ctrl"; |
2319 | trans = omap_readw(USB_TRANSCEIVER_CTRL); | 2320 | trans = omap_readw(USB_TRANSCEIVER_CTRL); |