]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-hid-sensor-time.c: add module alias to let the module load automatically
authorAlexander Holler <holler@ahsoftware.de>
Thu, 18 Jul 2013 23:56:51 +0000 (09:56 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 18 Jul 2013 23:56:51 +0000 (09:56 +1000)
commitee4f761a8a717cd261df099c52d03d59fd6470d7
treed115f2fbe65fb3fdf06bd9d8eec9817ce056e17d
parentac4265ad05ae5889fedd7fdca20accc3eb3da71e
drivers/rtc/rtc-hid-sensor-time.c: add module alias to let the module load automatically

In order to get the module automatically loaded by hotplug mechanisms a
MODULE_DEVICE_TABLE is needed.

Therefore add one.

This makes it also possible to use a module name other than
HID-SENSOR-2000a0 which isn't very descriptive in kernel messages.

Signed-off-by: Alexander Holler <holler@ahsoftware.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-hid-sensor-time.c