summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2013-04-11 23:55:54 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2013-04-29 15:42:01 -0400
commit303eb7e2c982fda734455f068633241db89d3175 (patch)
tree9c1cdb9ac59ad6ea04fc0e33ed31723cb26e1d08
parent0d01ff2583086fd532181d2ee16112f5342eb78d (diff)
Include missing linux/magic.h inclusions
Include missing linux/magic.h inclusions where the source file is currently expecting to get magic numbers through linux/proc_fs.h. Signed-off-by: David Howells <dhowells@redhat.com> cc: linux-efi@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--drivers/firmware/efivars.c1
-rw-r--r--fs/proc/inode.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c
index 7acafb80fd4c..0f1026019c0f 100644
--- a/drivers/firmware/efivars.c
+++ b/drivers/firmware/efivars.c
@@ -80,6 +80,7 @@
#include <linux/slab.h>
#include <linux/pstore.h>
#include <linux/ctype.h>
+#include <linux/magic.h>
#include <linux/fs.h>
#include <linux/ramfs.h>
diff --git a/fs/proc/inode.c b/fs/proc/inode.c
index d50224c70215..bd2f76427fec 100644
--- a/fs/proc/inode.c
+++ b/fs/proc/inode.c
@@ -22,6 +22,7 @@
#include <linux/seq_file.h>
#include <linux/slab.h>
#include <linux/mount.h>
+#include <linux/magic.h>
#include <asm/uaccess.h>