diff options
author | Len Brown <len.brown@intel.com> | 2007-07-25 07:36:53 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-07-25 07:36:53 +0200 |
commit | 323ef30af3a0da47cc761b04b262d98d0fe79126 (patch) | |
tree | 37636b25acc557969aee51f1fe3e3cbc7a9760ea /drivers/acpi/fan.c | |
parent | Pull d-states into release branch (diff) | |
parent | ACPI: autoload modules - Create __mod_acpi_device_table symbol for all ACPI d... (diff) | |
download | linux-323ef30af3a0da47cc761b04b262d98d0fe79126.tar.xz linux-323ef30af3a0da47cc761b04b262d98d0fe79126.zip |
Pull auto-load-modules into release branch
Diffstat (limited to 'drivers/acpi/fan.c')
-rw-r--r-- | drivers/acpi/fan.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/acpi/fan.c b/drivers/acpi/fan.c index ec655c539492..c81f6bdb68b8 100644 --- a/drivers/acpi/fan.c +++ b/drivers/acpi/fan.c @@ -50,10 +50,16 @@ static int acpi_fan_remove(struct acpi_device *device, int type); static int acpi_fan_suspend(struct acpi_device *device, pm_message_t state); static int acpi_fan_resume(struct acpi_device *device); +static const struct acpi_device_id fan_device_ids[] = { + {"PNP0C0B", 0}, + {"", 0}, +}; +MODULE_DEVICE_TABLE(acpi, fan_device_ids); + static struct acpi_driver acpi_fan_driver = { .name = "fan", .class = ACPI_FAN_CLASS, - .ids = "PNP0C0B", + .ids = fan_device_ids, .ops = { .add = acpi_fan_add, .remove = acpi_fan_remove, |