]> git.baikalelectronics.ru Git - kernel.git/commit
Input: wacom - only register once the MODULE_* macros
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 6 Aug 2014 21:07:49 +0000 (14:07 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 6 Aug 2014 22:14:55 +0000 (15:14 -0700)
commitc5be1a1ab0b1900a7c6bc0e93a73c1703705bc81
treeeb61d86fe87531d506d9996ae841f6a7e632487d
parent7bc134dd4a39e22bd5bc3338dee75f3262634f2c
Input: wacom - only register once the MODULE_* macros

Putting the various MODULE_* makes them appear several times in modinfo
because wacom.h is used both in wacom_sys.c and wacom_wac.h.
Having the macros near the module declaration makes them appear only once.

Add also MODULE_VERSION(DRIVER_VERSION) to export the current version
number.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/hid/wacom.h
drivers/hid/wacom_sys.c