Re: [PATCH 2.6 istallion.c] RFT added class support to istallion.c

From: Hanna Linder
Date: Thu Apr 08 2004 - 18:37:22 EST



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

Here is the fix:

diff -Nrup -Xdontdiff linux-2.6.5/drivers/char/istallion.c linux-2.6.5p/drivers/char/istallion.c
--- linux-2.6.5/drivers/char/istallion.c 2004-04-08 16:26:14.000000000 -0700
+++ linux-2.6.5p/drivers/char/istallion.c 2004-04-08 16:26:44.000000000 -0700
@@ -5323,7 +5323,7 @@ int __init stli_init(void)
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/