r8152: add MODULE_VERSION
authorGrant Grundler <grundler@chromium.org>
Thu, 14 Jul 2016 18:27:16 +0000 (11:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Jul 2016 21:25:30 +0000 (14:25 -0700)
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>
drivers/net/usb/r8152.c

index 63f4018293bcb24c7be3f321434681bbd14eb101..e9654a6853818933334488c28a98dbb3073a84cf 100644 (file)
@@ -4425,3 +4425,4 @@ module_usb_driver(rtl8152_driver);
 MODULE_AUTHOR(DRIVER_AUTHOR);
 MODULE_DESCRIPTION(DRIVER_DESC);
 MODULE_LICENSE("GPL");
+MODULE_VERSION(DRIVER_VERSION);