fix ov51x-jpeg compile
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 5 Aug 2008 22:56:34 +0000 (22:56 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 5 Aug 2008 22:56:34 +0000 (22:56 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12183 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/ov51x-jpeg/patches/100-compile_fix.patch [new file with mode: 0644]

diff --git a/package/ov51x-jpeg/patches/100-compile_fix.patch b/package/ov51x-jpeg/patches/100-compile_fix.patch
new file mode 100644 (file)
index 0000000..56bdf90
--- /dev/null
@@ -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;
+ }
This page took 0.029954 seconds and 4 git commands to generate.