projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
083ae30
)
r8152: add MODULE_VERSION
author
Grant Grundler
<grundler@chromium.org>
Thu, 14 Jul 2016 18:27:16 +0000
(11:27 -0700)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/net/usb/r8152.c
b/drivers/net/usb/r8152.c
index 63f4018293bcb24c7be3f321434681bbd14eb101..e9654a6853818933334488c28a98dbb3073a84cf 100644
(file)
--- 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);