aboutsummaryrefslogtreecommitdiffstats
path: root/package/ov51x-jpeg
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-08-05 22:56:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-08-05 22:56:34 +0000
commitdde1f5fb5456d1f64914513430083525d1b606fa (patch)
tree9970e6d3311d4808084446fa22edacc0a859a28d /package/ov51x-jpeg
parent0cc7199e713dc0be78509256bad1b5674c895b74 (diff)
downloadupstream-dde1f5fb5456d1f64914513430083525d1b606fa.tar.gz
upstream-dde1f5fb5456d1f64914513430083525d1b606fa.tar.bz2
upstream-dde1f5fb5456d1f64914513430083525d1b606fa.zip
fix ov51x-jpeg compile
SVN-Revision: 12183
Diffstat (limited to 'package/ov51x-jpeg')
-rw-r--r--package/ov51x-jpeg/patches/100-compile_fix.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/ov51x-jpeg/patches/100-compile_fix.patch b/package/ov51x-jpeg/patches/100-compile_fix.patch
new file mode 100644
index 0000000000..56bdf906e1
--- /dev/null
+++ b/package/ov51x-jpeg/patches/100-compile_fix.patch
@@ -0,0 +1,20 @@
+--- a/ov51x-jpeg-core.c
++++ b/ov51x-jpeg-core.c
+@@ -753,7 +753,7 @@
+ * -claudio
+ */
+
+- ov51x_jpeg_proc_entry = create_proc_entry("ov51x-jpeg", S_IFDIR, &proc_root);
++ ov51x_jpeg_proc_entry = create_proc_entry("ov51x-jpeg", S_IFDIR, NULL);
+ if (ov51x_jpeg_proc_entry)
+ ov51x_jpeg_proc_entry->owner = THIS_MODULE;
+ else
+@@ -771,7 +771,7 @@
+
+ /* Destroy proc entry */
+ PDEBUG(4, "destroying /proc/ov51x-jpeg");
+- remove_proc_entry("ov51x-jpeg", &proc_root);
++ remove_proc_entry("ov51x-jpeg", NULL);
+ ov51x_jpeg_proc_entry = NULL;
+
+ }