Skip to content

Commit 50ab2fe

Browse files
Jeremy Kerrglikely
authored andcommitted
proc_devtree: include linux/of.h
Currenly, proc_devtree.c depends on asm/prom.h to include linux/of.h, to provide some device-tree definitions (eg, struct property). Instead, include linux/of.h directly. We still need asm/prom.h for HAVE_ARCH_DEVTREE_FIXUPS. Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
1 parent 8cfb334 commit 50ab2fe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎fs/proc/proc_devtree.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <linux/seq_file.h>
1111
#include <linux/stat.h>
1212
#include <linux/string.h>
13+
#include <linux/of.h>
1314
#include <asm/prom.h>
1415
#include <asm/uaccess.h>
1516
#include "internal.h"

0 commit comments

Comments
 (0)