mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
fix ov51x-jpeg compile
SVN-Revision: 12183
This commit is contained in:
parent
0cc7199e71
commit
dde1f5fb54
20
package/ov51x-jpeg/patches/100-compile_fix.patch
Normal file
20
package/ov51x-jpeg/patches/100-compile_fix.patch
Normal file
@ -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;
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user