Commit 145f1f3a authored by Hanna V. Linder's avatar Hanna V. Linder Committed by Greg Kroah-Hartman

[PATCH] Fix class support to istallion.c

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

Here is the fix:
parent 923855f8
...@@ -5323,7 +5323,7 @@ int __init stli_init(void) ...@@ -5323,7 +5323,7 @@ int __init stli_init(void)
S_IFCHR | S_IRUSR | S_IWUSR, S_IFCHR | S_IRUSR | S_IWUSR,
"staliomem/%d", i); "staliomem/%d", i);
class_simple_device_add(istallion_class, MKDEV(STL_SIOMEMMAJOR, i), class_simple_device_add(istallion_class, MKDEV(STL_SIOMEMMAJOR, i),
NULL, "staliomem/%d", i); NULL, "staliomem%d", i);
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment