CHROMIUM: chromeos_laptop: Add MODULE_DEVICE_TABLE
authorBenson Leung <bleung@chromium.org>
Wed, 30 Jan 2013 00:23:05 +0000 (16:23 -0800)
committerChromeBot <chrome-bot@google.com>
Tue, 16 Apr 2013 03:40:07 +0000 (20:40 -0700)
commit22750f1711233f24e11ef83413347fb6cdd07098
tree026e9b946bda508f462da1a561dc101ef48b6ae0
parent3b9585b2a35884bffeed4449197461d9b99bcaf6
CHROMIUM: chromeos_laptop: Add MODULE_DEVICE_TABLE

If chromeos_laptop is built as a module, this will register
this driver as handling the various systems by dmi match,
so input devices, light sensors, and keyboard backlight are
still autoloaded on boot.

Signed-off-by: Benson Leung <bleung@chromium.org>
BUG=chromium-os:38363
TEST=Modify chromeos/config/x86_64/common.config to set
CONFIG_CHROMEOS_LAPTOP=m
build, load this kernel and modules onto Lumpy.
Check that on boot, trackpad works without modprobing
for chromeos_laptop.

Change-Id: Ib0a8f2b1228fc208e17c716d545818ab8b823952
Reviewed-on: https://gerrit.chromium.org/gerrit/42269
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
Tested-by: Benson Leung <bleung@chromium.org>
drivers/platform/x86/chromeos_laptop.c