From: Grant Grundler Date: Thu, 14 Jul 2016 18:27:16 +0000 (-0700) Subject: r8152: add MODULE_VERSION X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c961e877cff4b669788900a7e12386f67efbe2d3;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: David S. Miller --- 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);