Commit 32655109 authored by David Brownell's avatar David Brownell Committed by Tony Lindgren

MUSB: Minor cleanups

Minor cleanups (symbols don't get exported)
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
parent a6db46c4
......@@ -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;
......
......@@ -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)
......
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