]> 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>
Wed, 11 Sep 2013 21:24:15 +0000 (14:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:58:52 +0000 (15:58 -0700)
commitae259925bc8e4880e861b29d166000240dde93de
treeba1871db7f06cd73fbf48f9d39651c78f40fdd19
parent63c40436a1afc837f3ace6b5a39c547bc91c20bc
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-hid-sensor-time.c