ARM: OMAP: Split sram.h to local headers and minimal shared header
Most of the defines are specific to omap1 and omap2+, and should be in the local headers. Only minimal function prototypes need to be shared. As discussed on linux-arm-kernel, we want to avoid relative includes for the arch/arm/*omap* shared code: http://www.spinics.net/lists/linux-omap/msg80520.html So this patch re-adds a minimal plat/sram.h. The new plat/sram.h must not be included from drivers, that will break build for omap2+ CONFIG_MULTIPLATFORM. Note that this patch temporarily adds two more relative includes; Those will be removed in the following patch. Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
@@ -31,6 +31,8 @@
|
||||
#include <linux/gpio.h>
|
||||
#include <linux/platform_data/gpio-omap.h>
|
||||
|
||||
#include <asm/fncpy.h>
|
||||
|
||||
#include <asm/mach/time.h>
|
||||
#include <asm/mach/irq.h>
|
||||
#include <asm/mach-types.h>
|
||||
@@ -38,8 +40,6 @@
|
||||
|
||||
#include <plat-omap/dma-omap.h>
|
||||
|
||||
#include "../plat-omap/sram.h"
|
||||
|
||||
#include "soc.h"
|
||||
#include "common.h"
|
||||
#include "clock.h"
|
||||
@@ -48,6 +48,7 @@
|
||||
#include "cm2xxx_3xxx.h"
|
||||
#include "cm-regbits-24xx.h"
|
||||
#include "sdrc.h"
|
||||
#include "sram.h"
|
||||
#include "pm.h"
|
||||
#include "control.h"
|
||||
#include "powerdomain.h"
|
||||
|
Reference in New Issue
Block a user