aboutsummaryrefslogtreecommitdiffstats
path: root/usb.current
diff options
authorGreg Kroah-Hartman <gregkh@suse.de>2010-07-22 08:40:46 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-07-22 08:40:46 -0700
commit5caca10b163e38f1671c4be83c480581da4d90d6 (patch)
tree9aed99d9d92cc4ff5cf515924d66e148d54898c9 /usb.current
parentba93752a69c1012b6cc295812a619440648d1275 (diff)
downloadpatches-5caca10b163e38f1671c4be83c480581da4d90d6.tar.gz
typo fixes
Diffstat (limited to 'usb.current')
-rw-r--r--usb.current/usb-musb-tusb6010-fix-compile-error-with-n8x0_defconfig.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/usb.current/usb-musb-tusb6010-fix-compile-error-with-n8x0_defconfig.patch b/usb.current/usb-musb-tusb6010-fix-compile-error-with-n8x0_defconfig.patch
new file mode 100644
index 00000000000000..3e790aaa22c323
--- /dev/null
+++ b/usb.current/usb-musb-tusb6010-fix-compile-error-with-n8x0_defconfig.patch
@@ -0,0 +1,44 @@
+From felipe.balbi@nokia.com Wed Jul 7 15:01:53 2010
+From: felipe.balbi@nokia.com
+Date: Mon, 5 Jul 2010 12:12:01 +0300
+Subject: USB: musb: tusb6010: fix compile error with n8x0_defconfig
+To: Greg KH <greg@kroah.com>
+Cc: Tony Lindgren <tony@atomide.com>, Felipe Balbi <felipe.balbi@nokia.com>
+Message-ID: <1278321121-13474-1-git-send-email-felipe.balbi@nokia.com>
+
+
+From: Felipe Balbi <felipe.balbi@nokia.com>
+
+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@nokia.com>
+Cc: stable <stable@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
+
+---
+ drivers/usb/musb/tusb6010.c | 13 -------------
+ 1 file changed, 13 deletions(-)
+
+--- a/drivers/usb/musb/tusb6010.c
++++ b/drivers/usb/musb/tusb6010.c
+@@ -29,19 +29,6 @@ static void tusb_source_power(struct mus
+ #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.