Changes dependencies on others video modules after [12460] to remain consistent :)
[openwrt/svn-archive/archive.git] / multimedia / ov51x-jpeg / patches / 100-compile_fix.patch
1 --- a/ov51x-jpeg-core.c
2 +++ b/ov51x-jpeg-core.c
3 @@ -753,7 +753,7 @@
4 * -claudio
5 */
6
7 - ov51x_jpeg_proc_entry = create_proc_entry("ov51x-jpeg", S_IFDIR, &proc_root);
8 + ov51x_jpeg_proc_entry = create_proc_entry("ov51x-jpeg", S_IFDIR, NULL);
9 if (ov51x_jpeg_proc_entry)
10 ov51x_jpeg_proc_entry->owner = THIS_MODULE;
11 else
12 @@ -771,7 +771,7 @@
13
14 /* Destroy proc entry */
15 PDEBUG(4, "destroying /proc/ov51x-jpeg");
16 - remove_proc_entry("ov51x-jpeg", &proc_root);
17 + remove_proc_entry("ov51x-jpeg", NULL);
18 ov51x_jpeg_proc_entry = NULL;
19
20 }