ARM: OMAP: Fix dpll_data compile error when omap2 only is selected
authorTony Lindgren <tony@atomide.com>
Thu, 10 Nov 2011 20:12:55 +0000 (12:12 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 10 Nov 2011 20:12:55 +0000 (12:12 -0800)
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 <tony@atomide.com>
arch/arm/plat-omap/include/plat/clock.h

index 197ca03..eb73ab4 100644 (file)
@@ -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