From: Jeremy Kerr Date: Tue, 2 Feb 2010 04:34:14 +0000 (-0700) Subject: of: include linux/proc_fs.h X-Git-Tag: accepted/tizen/common/20141203.182822~12739^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a9f2f63a671d5e91ed89ade408d87f1692a373de;p=platform%2Fkernel%2Flinux-arm64.git of: include linux/proc_fs.h We use a few procfs-specific functions (eg, proc_device_tree_*) which aren't covered by the current includes. This causes the following build error on arm: drivers/of/base.c: In function 'prom_add_property': drivers/of/base.c:861: error: implicit declaration of function 'proc_device_tree_add_prop' drivers/of/base.c: In function 'prom_remove_property': drivers/of/base.c:902: error: implicit declaration of function 'proc_device_tree_remove_prop' drivers/of/base.c: In function 'prom_update_property': drivers/of/base.c:946: error: implicit declaration of function 'proc_device_tree_update_prop' Add proc_fs.h for these prototypes. Signed-off-by: Jeremy Kerr Signed-off-by: Grant Likely --- diff --git a/drivers/of/base.c b/drivers/of/base.c index 6bc8740..524645a 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -20,6 +20,7 @@ #include #include #include +#include struct device_node *allnodes;