* [PATCH] usb: musb: tusb6010: fix compile error with n8x0_defconfig
@ 2010-07-05 9:12 felipe.balbi-xNZwKgViW5gAvxtiuMwx3w
2010-07-05 10:28 ` Sergei Shtylyov
0 siblings, 1 reply; 3+ messages in thread
From: felipe.balbi-xNZwKgViW5gAvxtiuMwx3w @ 2010-07-05 9:12 UTC (permalink / raw)
To: Greg KH
Cc: Linux USB Mailing List, Linux OMAP Mailing List, Tony Lindgren,
Felipe Balbi
From: Felipe Balbi <felipe.balbi-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
Drop the unnecessary empty stubs in tusb6010.c and avoid
a compile error when building kernel for n8x0.
Signed-off-by: Felipe Balbi <felipe.balbi-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
---
compile tested with n8x0_defconfig
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] usb: musb: tusb6010: fix compile error with n8x0_defconfig
2010-07-05 9:12 [PATCH] usb: musb: tusb6010: fix compile error with n8x0_defconfig felipe.balbi-xNZwKgViW5gAvxtiuMwx3w
@ 2010-07-05 10:28 ` Sergei Shtylyov
2010-07-05 10:35 ` Felipe Balbi
0 siblings, 1 reply; 3+ messages in thread
From: Sergei Shtylyov @ 2010-07-05 10:28 UTC (permalink / raw)
To: felipe.balbi
Cc: Greg KH, Linux USB Mailing List, Linux OMAP Mailing List,
Tony Lindgren
Hello.
felipe.balbi@nokia.com wrote:
> From: Felipe Balbi <felipe.balbi@nokia.com>
> Drop the unnecessary empty stubs in tusb6010.c and avoid
But will this compile on other OMAPs?
> a compile error when building kernel for n8x0.
I wonder what kind of compile error...
> Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
WBR, Sergei
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] usb: musb: tusb6010: fix compile error with n8x0_defconfig
2010-07-05 10:28 ` Sergei Shtylyov
@ 2010-07-05 10:35 ` Felipe Balbi
0 siblings, 0 replies; 3+ messages in thread
From: Felipe Balbi @ 2010-07-05 10:35 UTC (permalink / raw)
To: ext Sergei Shtylyov
Cc: Balbi Felipe (Nokia-MS/Helsinki), Greg KH, Linux USB Mailing List,
Linux OMAP Mailing List, Tony Lindgren
On Mon, Jul 05, 2010 at 12:28:06PM +0200, ext Sergei Shtylyov wrote:
> But will this compile on other OMAPs?
since this is a compile fix for tusb6010.c only, yes
> I wonder what kind of compile error...
make n8x0_defconfig && make will tell you.
--
balbi
DefectiveByDesign.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-07-05 10:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-05 9:12 [PATCH] usb: musb: tusb6010: fix compile error with n8x0_defconfig felipe.balbi-xNZwKgViW5gAvxtiuMwx3w
2010-07-05 10:28 ` Sergei Shtylyov
2010-07-05 10:35 ` Felipe Balbi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).