RE: [PATCH] USB: GADGET: Compile fix for omap_udc.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Felipe Balbi <felipe.lima@xxxxxxxxxxx>
> 
> 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@xxxxxxxxxxx>
> ---
>  drivers/usb/gadget/omap_udc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/usb/gadget/omap_udc.c 
> b/drivers/usb/gadget/omap_udc.c
> index 2e8775e..e197900 100644
> --- a/drivers/usb/gadget/omap_udc.c
> +++ b/drivers/usb/gadget/omap_udc.c
> @@ -2272,7 +2272,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 = omap_readl(OMAP2_CONTROL_DEVCONF0);

Shouldn't this be
+		trans = ctrl_read_reg(OMAP2_CONTROL_DEVCONF0);

>  	} else {
>  		ctrl_name = "tranceiver_ctrl";
>  		trans = USB_TRANSCEIVER_CTRL_REG;
> -- 
> 1.5.3.7.1149.g591a
> 
> -
> To unsubscribe from this list: send the line "unsubscribe 
> linux-omap" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
-
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux