From 3265510939d2f44266fe72b1070d6908e236b249 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Thu, 7 Sep 2006 16:21:24 +0300 Subject: [PATCH] MUSB: Minor cleanups Minor cleanups (symbols don't get exported) Signed-off-by: David Brownell --- drivers/usb/musb/tusb6010.c | 4 ++-- drivers/usb/musb/tusb6010.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/musb/tusb6010.c b/drivers/usb/musb/tusb6010.c index 2176bcb3bdd..2b35d40f29a 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 e878ae6b3c5..e59d6eed37a 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) -- 2.41.1