Skip to content
Commit 02e77a55 authored by Thadeu Lima de Souza Cascardo's avatar Thadeu Lima de Souza Cascardo Committed by Matthew Garrett
Browse files

classmate-laptop: use a single MODULE_DEVICE_TABLE to get correct aliases



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: default avatarThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
parent c6760ac4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment