]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
selinux: netlink.c uses THIS_MODULE; give it assoc. header
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 00:52:10 +0000 (20:52 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 25 Aug 2011 17:55:25 +0000 (13:55 -0400)
The pervasive, but implicit presence of <linux/module.h> meant
that things like this file would happily compile as-is.  But
with the desire to phase out the module.h being included everywhere,
point this file at export.h which will give it THIS_MODULE.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
security/selinux/netlink.c

index 36ac257cec9a523106d79aab69a19254eaf9f494..34a012a73f39407c09c417fe27368527c77c64c7 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/slab.h>
 #include <linux/stddef.h>
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/skbuff.h>
 #include <linux/netlink.h>
 #include <linux/selinux_netlink.h>