]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
USB: GADGET: Compile fix for omap_udc.c
authorFelipe Balbi <felipe.lima@indt.org.br>
Wed, 12 Dec 2007 12:57:38 +0000 (14:57 +0200)
committerTony Lindgren <tony@atomide.com>
Sun, 16 Dec 2007 00:48:27 +0000 (16:48 -0800)
CONTROL_DEVCONF0 has changed to OMAP2_CONTROL_DEVCONF0. Fixes
in omap_udc.c the use of such macro.

Signed-off-by: Felipe Balbi <felipe.lima@indt.org.br>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/gadget/omap_udc.c

index 2e8775e6eb6a2db6c10e429880c52d780215be09..234a0e92485b9e554c33a537de8f60c8e3c3180d 100644 (file)
@@ -55,6 +55,7 @@
 #include <asm/arch/control.h>
 
 #include "omap_udc.h"
+#include "../../../arch/arm/mach-omap2/control.h"
 
 #undef USB_TRACE
 
@@ -2272,7 +2273,7 @@ static int proc_otg_show(struct seq_file *s)
                 * do with the frame adjustment counter and McBSP2.
                 */
                ctrl_name = "control_devconf";
-               trans = ctrl_read_reg(CONTROL_DEVCONF0);
+               trans = ctrl_read_reg(OMAP2_CONTROL_DEVCONF0);
        } else {
                ctrl_name = "tranceiver_ctrl";
                trans = USB_TRANSCEIVER_CTRL_REG;