[PATCH 2.6.5] Fix for patch to add class support to stallion.c

From: Hanna Linder
Date: Thu Apr 08 2004 - 18:24:29 EST



Oops. Realized I had a / in the file name in this patch too.

Please apply to correct it:

diff -Nrup -Xdontdiff linux-2.6.5/drivers/char/stallion.c linux-2.6.5p/drivers/char/stallion.c
--- linux-2.6.5/drivers/char/stallion.c 2004-04-08 16:14:33.000000000 -0700
+++ linux-2.6.5p/drivers/char/stallion.c 2004-04-08 16:16:11.000000000 -0700
@@ -3192,7 +3192,7 @@ int __init stl_init(void)
devfs_mk_cdev(MKDEV(STL_SIOMEMMAJOR, i),
S_IFCHR|S_IRUSR|S_IWUSR,
"staliomem/%d", i);
- class_simple_device_add(stallion_class, MKDEV(STL_SIOMEMMAJOR, i), NULL, "staliomem/%d", i);
+ class_simple_device_add(stallion_class, MKDEV(STL_SIOMEMMAJOR, i), NULL, "staliomem%d", i);
}

stl_serial->owner = THIS_MODULE;

-
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/