[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100712224254.GA29115@shutemov.name>
Date: Tue, 13 Jul 2010 01:42:54 +0300
From: "Kirill A. Shutemov" <kirill@...temov.name>
To: Felipe Balbi <felipe.balbi@...ia.com>
Cc: linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] Fix building of tusb6010
CC drivers/usb/musb/tusb6010.o
drivers/usb/musb/tusb6010.c:34: error: expected identifier or '(' before 'do'
drivers/usb/musb/tusb6010.c:34: error: expected identifier or '(' before 'while'
drivers/usb/musb/tusb6010.c:39: error: expected identifier or '(' before 'do'
drivers/usb/musb/tusb6010.c:39: error: expected identifier or '(' before 'while'
make[2]: *** [drivers/usb/musb/tusb6010.o] Error 1
make[1]: *** [drivers/usb/musb] Error 2
make: *** [drivers] Error 2
Empty musb_platform_save_context and musb_platform_restore_context
provided by musb_core.h.
Signed-off-by: Kirill A. Shutemov <kirill@...temov.name>
---
drivers/usb/musb/tusb6010.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/drivers/usb/musb/tusb6010.c b/drivers/usb/musb/tusb6010.c
index 05c077f..3c48e77 100644
--- a/drivers/usb/musb/tusb6010.c
+++ b/drivers/usb/musb/tusb6010.c
@@ -29,19 +29,6 @@ static void tusb_source_power(struct musb *musb, int is_on);
#define TUSB_REV_MAJOR(reg_val) ((reg_val >> 4) & 0xf)
#define TUSB_REV_MINOR(reg_val) (reg_val & 0xf)
-#ifdef CONFIG_PM
-/* REVISIT: These should be only needed if somebody implements off idle */
-void musb_platform_save_context(struct musb *musb,
- struct musb_context_registers *musb_context)
-{
-}
-
-void musb_platform_restore_context(struct musb *musb,
- struct musb_context_registers *musb_context)
-{
-}
-#endif
-
/*
* Checks the revision. We need to use the DMA register as 3.0 does not
* have correct versions for TUSB_PRCM_REV or TUSB_INT_CTRL_REV.
--
1.7.1.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists