summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2012-10-17 09:39:09 +0100
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-10-19 15:17:49 -0400
commit609b0b8c4608d59be261dde748f1ff1eccd748ba (patch)
tree91cb2302c27b0cd00559a3c1d72a6938051b060b
parent7644bdac7f4d3e5910f4d3f86f1f2b098d1212ca (diff)
downloadtalos-op-linux-609b0b8c4608d59be261dde748f1ff1eccd748ba.tar.gz
talos-op-linux-609b0b8c4608d59be261dde748f1ff1eccd748ba.zip
xen: sysfs: include err.h for PTR_ERR etc
Fixes build error on ARM: drivers/xen/sys-hypervisor.c: In function 'uuid_show_fallback': drivers/xen/sys-hypervisor.c:127:2: error: implicit declaration of function 'IS_ERR' [-Werror=implicit-function-declaration] drivers/xen/sys-hypervisor.c:128:3: error: implicit declaration of function 'PTR_ERR' [-Werror=implicit-function-declaration] Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
-rw-r--r--drivers/xen/sys-hypervisor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/sys-hypervisor.c b/drivers/xen/sys-hypervisor.c
index 5e5ad7e28858..66a0a1475acf 100644
--- a/drivers/xen/sys-hypervisor.c
+++ b/drivers/xen/sys-hypervisor.c
@@ -11,6 +11,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/kobject.h>
+#include <linux/err.h>
#include <asm/xen/hypervisor.h>
#include <asm/xen/hypercall.h>
OpenPOWER on IntegriCloud