xen: sysfs: include err.h for PTR_ERR etc
authorIan Campbell <ian.campbell@citrix.com>
Wed, 17 Oct 2012 08:39:09 +0000 (09:39 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 19 Oct 2012 19:17:49 +0000 (15:17 -0400)
commit609b0b8c4608d59be261dde748f1ff1eccd748ba
tree91cb2302c27b0cd00559a3c1d72a6938051b060b
parent7644bdac7f4d3e5910f4d3f86f1f2b098d1212ca
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>
drivers/xen/sys-hypervisor.c