summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2011-09-01 16:45:21 +0800
committerJason Liu <r64343@freescale.com>2012-01-09 20:23:33 +0800
commit6ee413e13e80220a6225c4539d1fa3c49ef06595 (patch)
treeb9ba48cb4c64cb1ebc859566c181d061cacb2b97 /drivers
parent4fc7a3c6da3c7833bb0fb8dc36c547144fb9dce8 (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>
Diffstat (limited to 'drivers')
-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 1a35675facef..c208d0b7dd0e 100644
--- a/drivers/usb/host/ehci.h
+++ b/drivers/usb/host/ehci.h
@@ -776,12 +776,12 @@ static inline unsigned ehci_read_frame_index(struct ehci_hcd *ehci)
* 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