Although each driver tree contains information on the version, author, etc. only the 3.17 tree exposes any of that through sysfs. Because this can be useful information to have (especially the version number) we copy the neccessary lines from 3.17 to the other trees.
Signed-off-by: Jason Gerecke <jason.gere...@wacom.com> --- 2.6.30/wacom_sys.c | 5 +++++ 2.6.36/wacom_sys.c | 5 +++++ 2.6.38/wacom_sys.c | 5 +++++ 3.7/wacom_sys.c | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/2.6.30/wacom_sys.c b/2.6.30/wacom_sys.c index 7553a56..c12cb02 100644 --- a/2.6.30/wacom_sys.c +++ b/2.6.30/wacom_sys.c @@ -951,3 +951,8 @@ static void __exit wacom_exit(void) module_init(wacom_init); module_exit(wacom_exit); + +MODULE_VERSION(DRIVER_VERSION); +MODULE_AUTHOR(DRIVER_AUTHOR); +MODULE_DESCRIPTION(DRIVER_DESC); +MODULE_LICENSE(DRIVER_LICENSE); diff --git a/2.6.36/wacom_sys.c b/2.6.36/wacom_sys.c index 4b36270..eda6175 100644 --- a/2.6.36/wacom_sys.c +++ b/2.6.36/wacom_sys.c @@ -1039,3 +1039,8 @@ static void __exit wacom_exit(void) module_init(wacom_init); module_exit(wacom_exit); + +MODULE_VERSION(DRIVER_VERSION); +MODULE_AUTHOR(DRIVER_AUTHOR); +MODULE_DESCRIPTION(DRIVER_DESC); +MODULE_LICENSE(DRIVER_LICENSE); diff --git a/2.6.38/wacom_sys.c b/2.6.38/wacom_sys.c index 881b480..af29eee 100644 --- a/2.6.38/wacom_sys.c +++ b/2.6.38/wacom_sys.c @@ -1616,3 +1616,8 @@ module_exit(wacom_exit); #else module_usb_driver(wacom_driver); #endif + +MODULE_VERSION(DRIVER_VERSION); +MODULE_AUTHOR(DRIVER_AUTHOR); +MODULE_DESCRIPTION(DRIVER_DESC); +MODULE_LICENSE(DRIVER_LICENSE); diff --git a/3.7/wacom_sys.c b/3.7/wacom_sys.c index 967a3a6..387b4de 100644 --- a/3.7/wacom_sys.c +++ b/3.7/wacom_sys.c @@ -1603,3 +1603,8 @@ static struct usb_driver wacom_driver = { }; module_usb_driver(wacom_driver); + +MODULE_VERSION(DRIVER_VERSION); +MODULE_AUTHOR(DRIVER_AUTHOR); +MODULE_DESCRIPTION(DRIVER_DESC); +MODULE_LICENSE(DRIVER_LICENSE); -- 2.5.3 ------------------------------------------------------------------------------ _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel