Commit:     3dfd35cd214f7874c4917dfedff81f107d845c15
Parent:     c92635572489b810d03acdf03f61bf6dd1af5433
Author:     Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
AuthorDate: Fri Nov 24 10:32:32 2006 -0200
Committer:  Len Brown <[EMAIL PROTECTED]>
CommitDate: Thu Dec 7 01:38:31 2006 -0500

    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 <[EMAIL PROTECTED]>
 drivers/acpi/ibm_acpi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/acpi/ibm_acpi.c b/drivers/acpi/ibm_acpi.c
index cd8722e..ce69f75 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)
        memset(ibm->driver, 0, sizeof(struct acpi_driver));
-       sprintf(ibm->driver->name, "%s/%s", IBM_NAME, ibm->name);
+       sprintf(ibm->driver->name, "%s_%s", IBM_NAME, ibm->name);
        ibm->driver->ids = ibm->hid;
        ibm->driver->ops.add = &ibm_device_add;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to