summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2011-09-01 16:45:21 +0800
committerPeter Chen <peter.chen@freescale.com>2011-09-01 17:22:02 +0800
commit77b6ab634604d1f72b1d61293907a882e359b8c5 (patch)
tree8c0cf61a62d04a80cb6eac9e9dc0ec541cb33353
parent99b30f75f47f53a1067695038b040c94c8d51912 (diff)
ENGR00155761 usb-host: fix the buiild warning with upstream reviewing patch
Warning message: /home/b29397/work/projects/linux-2.6-imx/drivers/usb/host/ehci.h: 748: warning: function declaration isn't a prototype Signed-off-by: Peter Chen <peter.chen@freescale.com>
-rw-r--r--drivers/usb/host/ehci.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h
index caf89665e245..c0f245cc2b28 100644
--- a/drivers/usb/host/ehci.h
+++ b/drivers/usb/host/ehci.h
@@ -744,12 +744,12 @@ static inline u32 hc32_to_cpup (const struct ehci_hcd *ehci, const __hc32 *x)
* descriptor to memory.
* */
#ifdef CONFIG_ARM_DMA_MEM_BUFFERABLE
-static inline void ehci_sync_mem()
+static inline void ehci_sync_mem(void)
{
mb();
}
#else
-static inline void ehci_sync_mem()
+static inline void ehci_sync_mem(void)
{
}
#endif