diff --git a/drivers/usb/musb/tusb6010.c b/drivers/usb/musb/tusb6010.c index 2176bcb3bddbcd2fa73aa4776699c0f617726d63..2b35d40f29a2b459fe9f534b5ea4052ece2029f3 100644 --- a/drivers/usb/musb/tusb6010.c +++ b/drivers/usb/musb/tusb6010.c @@ -186,7 +186,7 @@ void tusb_set_clock_source(struct musb *musb, int mode) * USB link is not suspended ... and tells us the relevant wakeup * events. */ -static inline void tusb_allow_idle(struct musb *musb, u32 wakeup_enables) +static void tusb_allow_idle(struct musb *musb, u32 wakeup_enables) { void __iomem *base = musb->ctrl_base; u32 reg; @@ -352,7 +352,7 @@ tusb_otg_ints(struct musb *musb, u32 int_src, void __iomem *base) } } -irqreturn_t tusb_interrupt(int irq, void *__hci, struct pt_regs *r) +static irqreturn_t tusb_interrupt(int irq, void *__hci, struct pt_regs *r) { struct musb *musb = __hci; void __iomem *base = musb->ctrl_base; diff --git a/drivers/usb/musb/tusb6010.h b/drivers/usb/musb/tusb6010.h index e878ae6b3c5ddd53919d230107f2ed1f04027adc..e59d6eed37ab881fa589d71a35b28974ef901075 100644 --- a/drivers/usb/musb/tusb6010.h +++ b/drivers/usb/musb/tusb6010.h @@ -44,7 +44,7 @@ #define TUSB_DEV_CONF_ID_SEL (1 << 0) #define TUSB_PHY_OTG_CTRL_ENABLE (TUSB_SYS_REG_BASE + 0x004) -#define TUSB_PHY_OTG_CTRL (TUSB_SYS_REG_BASE + 0x008) +#define TUSB_PHY_OTG_CTRL (TUSB_SYS_REG_BASE + 0x008) #define TUSB_PHY_OTG_CTRL_WRPROTECT (0xa5 << 24) #define TUSB_PHY_OTG_CTRL_OTG_ID_PULLUP (1 << 23) #define TUSB_PHY_OTG_CTRL_OTG_VBUS_DET_EN (1 << 19)