diff options
author | Len Brown <len.brown@intel.com> | 2007-02-12 23:33:40 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-12 23:33:40 -0500 |
commit | c2b6705b75d9c7aff98a4602a32230639e10891c (patch) | |
tree | 757089d71810040b8dfb763e1ec4d2775609019d /drivers/acpi/asus_acpi.c | |
parent | f52fd66d2ea794010c2d7536cf8e6abed0ac4947 (diff) |
ACPI: fix acpi_driver.name usage
It was erroneously used as a description rather than a name.
ie. turn this:
lenb@se7525gp2:/sys> ls bus/acpi/drivers
ACPI AC Adapter Driver ACPI Embedded Controller Driver ACPI Power Resource Driver
ACPI Battery Driver ACPI Fan Driver ACPI Processor Driver
ACPI Button Driver ACPI PCI Interrupt Link Driver ACPI Thermal Zone Driver
ACPI container driver ACPI PCI Root Bridge Driver hpet
into this:
lenb@se7525gp2:~> ls /sys/bus/acpi/drivers
ac battery button container ec fan hpet pci_link pci_root power processor thermal
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/asus_acpi.c')
-rw-r--r-- | drivers/acpi/asus_acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/asus_acpi.c b/drivers/acpi/asus_acpi.c index 31ad70a6e22e..40a2f4cb4ac3 100644 --- a/drivers/acpi/asus_acpi.c +++ b/drivers/acpi/asus_acpi.c | |||
@@ -421,7 +421,7 @@ static struct asus_hotk *hotk; | |||
421 | static int asus_hotk_add(struct acpi_device *device); | 421 | static int asus_hotk_add(struct acpi_device *device); |
422 | static int asus_hotk_remove(struct acpi_device *device, int type); | 422 | static int asus_hotk_remove(struct acpi_device *device, int type); |
423 | static struct acpi_driver asus_hotk_driver = { | 423 | static struct acpi_driver asus_hotk_driver = { |
424 | .name = ACPI_HOTK_NAME, | 424 | .name = "asus_acpi", |
425 | .class = ACPI_HOTK_CLASS, | 425 | .class = ACPI_HOTK_CLASS, |
426 | .ids = ACPI_HOTK_HID, | 426 | .ids = ACPI_HOTK_HID, |
427 | .ops = { | 427 | .ops = { |