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 197ca03c3f7d8490a109a9b576b2e2f9c9c420e6..eb73ab40e9556ee03f36e63fa7c06b9e77b4b1d3 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