diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-08-05 22:56:34 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-08-05 22:56:34 +0000 |
commit | 277a5a8f9d3a2c313baa336ae4b215f30a67c40b (patch) | |
tree | a39d8a5933407053a4ca8ebcabc64a2743b9d157 /package/ov51x-jpeg/patches | |
parent | e7a5d248ed2135f0ee09cf02a583bf56e82c5ad0 (diff) |
fix ov51x-jpeg compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12183 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ov51x-jpeg/patches')
-rw-r--r-- | package/ov51x-jpeg/patches/100-compile_fix.patch | 20 |
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 000000000..56bdf906e --- /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; + + } |