public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 14/14] ACPI: ibm_acpi: don't use '/' in driver names
@ 2006-12-07 12:57 Zhang Rui
  0 siblings, 0 replies; only message in thread
From: Zhang Rui @ 2006-12-07 12:57 UTC (permalink / raw)
  To: lenb; +Cc: linux-acpi@vger, hmh

From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>

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>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
---

 drivers/acpi/ibm_acpi.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.19/drivers/acpi/ibm_acpi.c
===================================================================
--- linux-2.6.19.orig/drivers/acpi/ibm_acpi.c	2006-12-01 11:10:37.000000000 +0800
+++ linux-2.6.19/drivers/acpi/ibm_acpi.c	2006-12-01 11:33:30.000000000 +0800
@@ -1825,7 +1825,7 @@ static int __init register_driver(struct
 	}
 
 	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;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-07 12:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-07 12:57 [PATCH 14/14] ACPI: ibm_acpi: don't use '/' in driver names Zhang Rui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox