Commit 8b084b62 authored by Russell King's avatar Russell King

[ARM] Don't include lubbock.h in asm/arch/hardware.h

Since asm/arch/hardware.h is included (indirectly) by most kernel
files, we don't want all these files depending on the individual
machine support files, especially as only five files really require
the header.

Instead, explicitly include lubbock.h into files as necessary.
parent 3b229157
......@@ -17,6 +17,7 @@
#include <asm/hardware.h>
#include <asm/leds.h>
#include <asm/system.h>
#include <asm/arch/lubbock.h>
#include "leds.h"
......
......@@ -29,6 +29,7 @@
#include <asm/mach/map.h>
#include <asm/mach/irq.h>
#include <asm/arch/lubbock.h>
#include <asm/arch/udc.h>
#include <asm/arch/pxafb.h>
#include <asm/hardware/sa1111.h>
......
......@@ -19,6 +19,7 @@
#include <asm/hardware.h>
#include <asm/memory.h>
#include <asm/system.h>
#include <asm/arch/lubbock.h>
/*
......
......@@ -15,11 +15,12 @@
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <asm/io.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/partitions.h>
#include <asm/io.h>
#include <asm/hardware.h>
#include <asm/arch/lubbock.h>
#define ROM_ADDR 0x00000000
......
......@@ -25,6 +25,7 @@
#include <asm/hardware.h>
#include <asm/hardware/sa1111.h>
#include <asm/mach-types.h>
#include <asm/arch/lubbock.h>
#include "sa1111_generic.h"
......
......@@ -94,8 +94,6 @@ extern unsigned int get_lcdclk_frequency_10khz(void);
/*
* Implementation specifics
*/
#include "lubbock.h"
#include "mainstone.h"
#include "idp.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment