From: Tony Lindgren Date: Thu, 10 Nov 2011 20:12:55 +0000 (-0800) Subject: ARM: OMAP: Fix dpll_data compile error when omap2 only is selected X-Git-Tag: MMI-PSA29.97-13-9~17947^2~2^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7be620f79714b6598275bd5c71d89bb24dfe332e;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ARM: OMAP: Fix dpll_data compile error when omap2 only is selected Without this patch we get the following error: arch/arm/mach-omap2/clkt_dpll.c: In function '_dpll_test_fint': arch/arm/mach-omap2/clkt_dpll.c:98: error: 'struct dpll_data' has no member named 'flags' Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/plat-omap/include/plat/clock.h b/arch/arm/plat-omap/include/plat/clock.h index 197ca03c3f7d..eb73ab40e955 100644 --- a/arch/arm/plat-omap/include/plat/clock.h +++ b/arch/arm/plat-omap/include/plat/clock.h @@ -165,8 +165,8 @@ struct dpll_data { u8 auto_recal_bit; u8 recal_en_bit; u8 recal_st_bit; - u8 flags; # endif + u8 flags; }; #endif