Skip to contentSkip to conversation

ARM: OMAP: Fix dpll_data compile error when omap2 only is selected

PATCH New Tony Lindgren 1 participant 1 message Nov 10, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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'

arch/arm/plat-omap/include/plat/clock.h +1 -1
index 197ca03..eb73ab4 100644
@@ -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