Messages in this thread Patch in this message | | | Date | Thu, 08 Apr 2004 16:35:26 -0700 | From | Hanna Linder <> | Subject | Re: [PATCH 2.6 istallion.c] RFT added class support to istallion.c |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |