aboutsummaryrefslogtreecommitdiffstats
path: root/u07.patch
diff options
Diffstat (limited to 'u07.patch')
-rw-r--r--u07.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/u07.patch b/u07.patch
new file mode 100644
index 00000000000000..4c6dc6b0d2478f
--- /dev/null
+++ b/u07.patch
@@ -0,0 +1,30 @@
+From foo@baz Wed Jul 19 14:07:00 CEST 2017
+Date: Wed, 19 Jul 2017 14:07:00 +0200
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: USB: phy: remove unneeded MODULE_VERSION() usage
+
+MODULE_VERSION is useless for in-kernel drivers, so remove the
+use of it in the marvel phy driver, along with the DRIVER_VERSION
+define.
+
+Cc: Felipe Balbi <balbi@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/usb/phy/phy-mv-usb.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+--- a/drivers/usb/phy/phy-mv-usb.c
++++ b/drivers/usb/phy/phy-mv-usb.c
+@@ -29,10 +29,8 @@
+ #include "phy-mv-usb.h"
+
+ #define DRIVER_DESC "Marvell USB OTG transceiver driver"
+-#define DRIVER_VERSION "Jan 20, 2010"
+
+ MODULE_DESCRIPTION(DRIVER_DESC);
+-MODULE_VERSION(DRIVER_VERSION);
+ MODULE_LICENSE("GPL");
+
+ static const char driver_name[] = "mv-otg";