diff options
author | Thomas Renninger <trenn@suse.de> | 2007-07-23 08:44:41 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-07-23 13:56:42 -0400 |
commit | 1ba90e3a87c46500623afdc3898573e4a5ebb21b (patch) | |
tree | b324171b526be3562c87d9ed99ef51c39d77ed45 /drivers/acpi/thermal.c | |
parent | 29b71a1ca74491fab9fed09e9d835d840d042690 (diff) |
ACPI: autoload modules - Create __mod_acpi_device_table symbol for all ACPI drivers
modpost is going to use these to create e.g. acpi:ACPI0001
in modules.alias.
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/thermal.c')
-rw-r--r-- | drivers/acpi/thermal.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c index 58f1338981bc..5a62de1b7f2a 100644 --- a/drivers/acpi/thermal.c +++ b/drivers/acpi/thermal.c | |||
@@ -92,10 +92,16 @@ static int acpi_thermal_polling_open_fs(struct inode *inode, struct file *file); | |||
92 | static ssize_t acpi_thermal_write_polling(struct file *, const char __user *, | 92 | static ssize_t acpi_thermal_write_polling(struct file *, const char __user *, |
93 | size_t, loff_t *); | 93 | size_t, loff_t *); |
94 | 94 | ||
95 | static const struct acpi_device_id thermal_device_ids[] = { | ||
96 | {ACPI_THERMAL_HID, 0}, | ||
97 | {"", 0}, | ||
98 | }; | ||
99 | MODULE_DEVICE_TABLE(acpi, thermal_device_ids); | ||
100 | |||
95 | static struct acpi_driver acpi_thermal_driver = { | 101 | static struct acpi_driver acpi_thermal_driver = { |
96 | .name = "thermal", | 102 | .name = "thermal", |
97 | .class = ACPI_THERMAL_CLASS, | 103 | .class = ACPI_THERMAL_CLASS, |
98 | .ids = ACPI_THERMAL_HID, | 104 | .ids = thermal_device_ids, |
99 | .ops = { | 105 | .ops = { |
100 | .add = acpi_thermal_add, | 106 | .add = acpi_thermal_add, |
101 | .remove = acpi_thermal_remove, | 107 | .remove = acpi_thermal_remove, |