Commit 8106fd31 authored by Felipe Balbi's avatar Felipe Balbi Committed by Tony Lindgren

USB: GADGET: Compile fix for omap_udc.c

CONTROL_DEVCONF0 has changed to OMAP2_CONTROL_DEVCONF0. Fixes
in omap_udc.c the use of such macro.
Signed-off-by: default avatarFelipe Balbi <felipe.lima@indt.org.br>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 2418996e
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
#include <asm/arch/control.h> #include <asm/arch/control.h>
#include "omap_udc.h" #include "omap_udc.h"
#include "../../../arch/arm/mach-omap2/control.h"
#undef USB_TRACE #undef USB_TRACE
...@@ -2272,7 +2273,7 @@ static int proc_otg_show(struct seq_file *s) ...@@ -2272,7 +2273,7 @@ static int proc_otg_show(struct seq_file *s)
* do with the frame adjustment counter and McBSP2. * do with the frame adjustment counter and McBSP2.
*/ */
ctrl_name = "control_devconf"; ctrl_name = "control_devconf";
trans = ctrl_read_reg(CONTROL_DEVCONF0); trans = ctrl_read_reg(OMAP2_CONTROL_DEVCONF0);
} else { } else {
ctrl_name = "tranceiver_ctrl"; ctrl_name = "tranceiver_ctrl";
trans = USB_TRANSCEIVER_CTRL_REG; trans = USB_TRANSCEIVER_CTRL_REG;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment