]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commitf2e0a7d4a0b94b4274e3b7e15bf650d45a866f3c
treeeb61d86fe87531d506d9996ae841f6a7e632487d
parent7403a6a448c3ed96221bb46c9da75254fd87b520
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