Hi Paul,

On 2/21/2011 3:08 AM, Paul Walmsley wrote:
There's no reason for this header file to be in
plat-omap/include/plat/smartreflex.h.  The hardware devices are in
OMAP2+ SoCs only.  Leaving this header file in plat-omap causes
problems due to cross-dependencies with other header files that should
live in mach-omap2/.

Signed-off-by: Paul Walmsley<[email protected]>
---
  arch/arm/mach-omap2/omap_hwmod_3xxx_data.c    |    2 +-
  arch/arm/mach-omap2/smartreflex-class3.c      |    2 +-
  arch/arm/mach-omap2/smartreflex.c             |    2 +-
  arch/arm/mach-omap2/smartreflex.h             |    0
  arch/arm/mach-omap2/sr_device.c               |    2 +-
  5 files changed, 4 insertions(+), 4 deletions(-)
  rename arch/arm/{plat-omap/include/plat/smartreflex.h =>  
mach-omap2/smartreflex.h} (100%)

diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c 
b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
index 8d81813..7f0b5e7 100644
--- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
@@ -21,13 +21,13 @@
  #include<plat/l4_3xxx.h>
  #include<plat/i2c.h>
  #include<plat/gpio.h>
-#include<plat/smartreflex.h>

In fact that include is not used for OMAP4 data and does not seems to be used either in this file.
I guess you can simply remove it.

Benoit
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to