From fa52dc1c3a6cac1a9c1ec6ff29041e50507077ba Mon Sep 17 00:00:00 2001 From: Peter Chen Date: Thu, 1 Sep 2011 16:45:21 +0800 Subject: [PATCH] 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 --- drivers/usb/host/ehci.h | 4 ++-- 1 file 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 -- 2.39.2