diff options
Diffstat (limited to 'drivers')
-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); |