diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-19 14:26:09 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-19 14:26:09 +0200 |
| commit | 3f8f9c9c0c38211ab69730bd268168afa2dc13d2 (patch) | |
| tree | 1e146b45f278936f6758cfd1b2fae2c4699cc5b1 /u07.patch | |
| parent | 5a7f345ba5e849229317f73497a17637c9a08e4a (diff) | |
| download | patches-3f8f9c9c0c38211ab69730bd268168afa2dc13d2.tar.gz | |
add USB MODULE_VERSION patches
Diffstat (limited to 'u07.patch')
| -rw-r--r-- | u07.patch | 30 |
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"; |
