Re: [PATCH] Driver Core update for 2.6.6-rc1

From: Greg KH
Date: Thu Apr 15 2004 - 12:57:03 EST


ChangeSet 1.1643.36.17, 2004/04/09 11:51:13-07:00, hannal@xxxxxxxxxx

[PATCH] Fix class support to istallion.c

Realized I put a / in the filename of this device too.

Here is the fix:


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


diff -Nru a/drivers/char/istallion.c b/drivers/char/istallion.c
--- a/drivers/char/istallion.c Thu Apr 15 10:20:13 2004
+++ b/drivers/char/istallion.c Thu Apr 15 10:20:13 2004
@@ -5323,7 +5323,7 @@
S_IFCHR | S_IRUSR | S_IWUSR,
"staliomem/%d", i);
class_simple_device_add(istallion_class, MKDEV(STL_SIOMEMMAJOR, i),
- NULL, "staliomem/%d", i);
+ NULL, "staliomem%d", i);
}

/*

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/