]> git.karo-electronics.de Git - karo-tx-linux.git/commit
classmate-laptop: use a single MODULE_DEVICE_TABLE to get correct aliases
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Tue, 9 Feb 2010 22:37:27 +0000 (17:37 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 23:02:14 +0000 (16:02 -0700)
commit993d82e3f2d2bd769b4b6246fa943d5ac71c46a2
tree8fb468700c9e31c78433391205c693a584bc1400
parent39ec71179f7c02f2a9c1b37b1132f2d091a9cf1c
classmate-laptop: use a single MODULE_DEVICE_TABLE to get correct aliases

commit 02e77a55f7b7e36888e39c62439fedb90ae4e808 upstream.

Instead of a MODULE_DEVICE_TABLE for every acpi_driver ids table, we
create a table containing all ids to export to get a module alias for
each one.

This will fix automatic loading of the driver when one of the ACPI
devices is not present (like the accelerometer, which is not present in
some models).

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/platform/x86/classmate-laptop.c