aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/ibm_acpi.c
diff options
context:
space:
mode:
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>2006-11-24 07:32:32 -0500
committerLen Brown <len.brown@intel.com>2006-12-07 01:38:31 -0500
commit3dfd35cd214f7874c4917dfedff81f107d845c15 (patch)
tree31169ba6a09595b65b6e4c5a732573e52d03a064 /drivers/acpi/ibm_acpi.c
parentc92635572489b810d03acdf03f61bf6dd1af5433 (diff)
ACPI: ibm-acpi: do not use / in driver names
ibm-acpi uses sub-device names like ibm/hotkey, which get in the way of a sysfs conversion. Fix it to use ibm_hotkey instead. Thanks to Zhang Rui for noticing this. Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Diffstat (limited to 'drivers/acpi/ibm_acpi.c')
-rw-r--r--drivers/acpi/ibm_acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/ibm_acpi.c b/drivers/acpi/ibm_acpi.c
index cd8722e4157e..ce69f7592a22 100644
--- a/drivers/acpi/ibm_acpi.c
+++ b/drivers/acpi/ibm_acpi.c
@@ -1854,7 +1854,7 @@ static int __init register_driver(struct ibm_struct *ibm)
1854 } 1854 }
1855 1855
1856 memset(ibm->driver, 0, sizeof(struct acpi_driver)); 1856 memset(ibm->driver, 0, sizeof(struct acpi_driver));
1857 sprintf(ibm->driver->name, "%s/%s", IBM_NAME, ibm->name); 1857 sprintf(ibm->driver->name, "%s_%s", IBM_NAME, ibm->name);
1858 ibm->driver->ids = ibm->hid; 1858 ibm->driver->ids = ibm->hid;
1859 ibm->driver->ops.add = &ibm_device_add; 1859 ibm->driver->ops.add = &ibm_device_add;
1860 1860