From: Konrad Rzeszutek Wilk Date: Tue, 27 Nov 2012 00:57:04 +0000 (-0500) Subject: xen/acpi: Fix compile error by missing decleration for xen_domain. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0dfa5b5d09a882a33f3aa433ad0b16898a3589ad;p=openwrt%2Fstaging%2Fblogic.git xen/acpi: Fix compile error by missing decleration for xen_domain. Commit 92e3229dcdc80ff0b6304f14c578d76e7e10e226 ("xen/acpi: ACPI PAD driver") adds a new function but forgets to use the right header. Without it, we get: In file included from drivers/xen/features.c:15:0: include/xen/interface/version.h: In function ‘xen_running_on_version_or_later’: include/xen/interface/version.h:72:2: error: implicit declaration of function ‘xen_domain’ [-Werror=implicit-function-declaration] Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/include/xen/interface/version.h b/include/xen/interface/version.h index 96d8d3deea6b..53553f046497 100644 --- a/include/xen/interface/version.h +++ b/include/xen/interface/version.h @@ -63,6 +63,9 @@ struct xen_feature_info { /* arg == xen_domain_handle_t. */ #define XENVER_guest_handle 8 +/* Declares the xen_domain() macros. */ +#include + /* Check if running on Xen version (major, minor) or later */ static inline bool xen_running_on_version_or_later(unsigned int major, unsigned int minor)