]> git.baikalelectronics.ru Git - kernel.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)
commitd2ae2cd6208ae746910cb7a2423e8b2b58af2aac
treeba1871db7f06cd73fbf48f9d39651c78f40fdd19
parentfab5754209f5d1d85b92e4c8360c5d1c9248003c
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