We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5fbab5 commit e12cc34Copy full SHA for e12cc34
drivers/usb/gadget/omap_udc.c
@@ -54,6 +54,7 @@
54
55
#include <mach/dma.h>
56
#include <mach/usb.h>
57
+#include <mach/control.h>
58
59
#include "omap_udc.h"
60
@@ -2310,10 +2311,10 @@ static int proc_otg_show(struct seq_file *s)
2310
2311
u32 trans;
2312
char *ctrl_name;
2313
- tmp = OTG_REV_REG;
2314
+ tmp = omap_readl(OTG_REV);
2315
if (cpu_is_omap24xx()) {
2316
ctrl_name = "control_devconf";
- trans = CONTROL_DEVCONF_REG;
2317
+ trans = omap_ctrl_readl(OMAP2_CONTROL_DEVCONF0);
2318
} else {
2319
ctrl_name = "tranceiver_ctrl";
2320
trans = omap_readw(USB_TRANSCEIVER_CTRL);
0 commit comments