Updated SVN for Kernel versions > 2.6.29 following git commit
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=
99b76233803beab302123d243eea9e41149804f3
from Alexey Dobriyan <adobriyan@gmail.com>
git-svn-id: svn://svn.berlios.de//socketcan/trunk@964
030b6a49-0b11-0410-94ab-
b0dab22257f2
proc_dir = proc_mkdir("can-bcm", proc_net);
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
if (proc_dir)
proc_dir->owner = THIS_MODULE;
+#endif
return 0;
}
return;
}
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
can_dir->owner = THIS_MODULE;
+#endif
/* own procfs entries from the AF_CAN core */
pde_version = can_create_proc_readentry(CAN_PROC_VERSION, 0644,