summaryrefslogtreecommitdiff
path: root/packages/linux/nslu2-kernel/2.6.15/80-nslu2-io.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux/nslu2-kernel/2.6.15/80-nslu2-io.patch')
-rw-r--r--packages/linux/nslu2-kernel/2.6.15/80-nslu2-io.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/linux/nslu2-kernel/2.6.15/80-nslu2-io.patch b/packages/linux/nslu2-kernel/2.6.15/80-nslu2-io.patch
index 0b90c486e3..26031f6f00 100644
--- a/packages/linux/nslu2-kernel/2.6.15/80-nslu2-io.patch
+++ b/packages/linux/nslu2-kernel/2.6.15/80-nslu2-io.patch
@@ -516,7 +516,7 @@
+ return -EBUSY;
+ }
+ else {
-+ class_device_create(n2lm_class, MKDEV(NSLU2LM_MAJOR, 0), NULL, "leds");
++ class_device_create(n2lm_class, NULL, MKDEV(NSLU2LM_MAJOR, 0), NULL, "leds");
+ }
+#endif
+
@@ -525,7 +525,7 @@
+ return -EBUSY;
+ }
+ else {
-+ class_device_create(n2lm_class, MKDEV(NSLU2BZ_MAJOR, 0), NULL, "buzzer");
++ class_device_create(n2lm_class, NULL, MKDEV(NSLU2BZ_MAJOR, 0), NULL, "buzzer");
+ }
+
+ return 0;