Signed-off-by: Dmitry Baryshkov <dbaryshkov@xxxxxxxxx> --- drivers/usb/gadget/omap_udc.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/usb/gadget/omap_udc.c b/drivers/usb/gadget/omap_udc.c index 881d74c..b3cee6f 100644 --- a/drivers/usb/gadget/omap_udc.c +++ b/drivers/usb/gadget/omap_udc.c @@ -54,6 +54,7 @@ #include <asm/arch/dma.h> #include <asm/arch/usb.h> +#include <asm/arch/control.h> #include "omap_udc.h" @@ -2289,7 +2290,7 @@ static int proc_otg_show(struct seq_file *s) tmp = OTG_REV_REG; 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 = USB_TRANSCEIVER_CTRL_REG; -- 1.5.6 -- With best wishes Dmitry -- 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