summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGrant Grundler <grundler@chromium.org>2016-07-14 11:27:16 -0700
committerDavid S. Miller <davem@davemloft.net>2016-07-15 14:25:30 -0700
commitc961e877cff4b669788900a7e12386f67efbe2d3 (patch)
treef84f839ef60ffa2ed29209ced2f7e12092fe1b05 /drivers
parent083ae308280d13d187512b9babe3454342a7987e (diff)
downloadlinux-c961e877cff4b669788900a7e12386f67efbe2d3.tar.bz2
r8152: add MODULE_VERSION
ethtool -i provides a driver version that is hard coded. Export the same value via "modinfo". Signed-off-by: Grant Grundler <grundler@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/usb/r8152.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index 63f4018293bc..e9654a685381 100644
--- a/drivers/net/usb/r8152.c
+++ b/drivers/net/usb/r8152.c
@@ -4425,3 +4425,4 @@ module_usb_driver(rtl8152_driver);
MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL");
+MODULE_VERSION(DRIVER_VERSION);