projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5fbab5
)
USB: omap_udc: fix compilation with debug enabled
author
Dmitry Baryshkov
<
[email protected]
>
Thu, 7 Aug 2008 12:29:25 +0000
(16:29 +0400)
committer
Greg Kroah-Hartman
<
[email protected]
>
Thu, 14 Aug 2008 00:32:58 +0000
(17:32 -0700)
Signed-off-by: Dmitry Baryshkov <
[email protected]
>
Acked-by: David Brownell <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/usb/gadget/omap_udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/omap_udc.c
b/drivers/usb/gadget/omap_udc.c
index 376e80c07530eba7093de756fdfa107a1e1348ef..574c53831a05fd17afd6062633aaab4843609e5f 100644
(file)
--- a/
drivers/usb/gadget/omap_udc.c
+++ b/
drivers/usb/gadget/omap_udc.c
@@
-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);