From: Ian Campbell Subject: [PATCH] Fix build when CONFIG_HPET_TIMER=n Date: Wed, 25 Nov 2009 14:42:33 +0000 Message-ID: <1259160153-9749-1-git-send-email-ian.campbell@citrix.com> Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Jeremy Fitzhardinge , Ian Campbell , Wei Gang List-Id: xen-devel@lists.xenproject.org Broken by commit b2a93181340b2efd58f16a2d7303f6f45591bca0 Author: Wei Gang Date: Sun Oct 18 17:39:04 2009 +0900 x86/hpet: allow hpet to be programmatically disabled CC arch/x86/xen/setup.o In file included from arch/x86/xen/setup.c:14: arch/x86/include/asm/hpet.h: In function 'disable_hpet': arch/x86/include/asm/hpet.h:111: error: parameter name omitted make[3]: *** [arch/x86/xen/setup.o] Error 1 make[2]: *** [arch/x86/xen] Error 2 make[2]: *** Waiting for unfinished jobs.... Signed-off-by: Ian Campbell Cc: Wei Gang Cc: Jeremy Fitzhardinge --- arch/x86/include/asm/hpet.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/include/asm/hpet.h b/arch/x86/include/asm/hpet.h index be24e01..d5e7219 100644 --- a/arch/x86/include/asm/hpet.h +++ b/arch/x86/include/asm/hpet.h @@ -108,7 +108,7 @@ extern void hpet_unregister_irq_handler(rtc_irq_handler handler); #else /* CONFIG_HPET_TIMER */ static inline int hpet_enable(void) { return 0; } -static inline int disable_hpet(char *) { return 0; } +static inline int disable_hpet(char *reason) { return 0; } static inline int is_hpet_enabled(void) { return 0; } #define hpet_readl(a) 0 -- 1.5.6.5