]> 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)
commitb0104235b5e6da472f970c1b7b9156bed37b082e
treeba1871db7f06cd73fbf48f9d39651c78f40fdd19
parentb4c1e09461af2205c086f8f07a4d929d919d9876
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