Make sure we will have lower case MAC addresses when doing WDS
[openwrt.git] / package / 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 }
This page took 0.038233 seconds and 5 git commands to generate.