mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-06 06:06:16 +02:00
277a5a8f9d
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12183 3c298f89-4303-0410-b956-a3cf2f4a3e73
21 lines
545 B
Diff
21 lines
545 B
Diff
--- 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;
|
|
|
|
}
|