Skip to content

Commit ca31807

Browse files
committed
ARM: davinci: remove include/mach/ subdirectory
The files in include/mach are only used from mach/davinci, so they are no longer needed in the traditional location. Move them to arch/arm/mach-davinci/ and drop the logic for the special include path. The mach/uncompress.h file is not used at all and can just be removed. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 6d9230e commit ca31807

39 files changed

Lines changed: 1064 additions & 1205 deletions

arch/arm/mach-davinci/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
# Makefile for the linux kernel.
44
#
55
#
6-
7-
ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include
8-
6+
#
97
# Common objects
108
obj-y := serial.o usb.o common.o sram.o
119

arch/arm/mach-davinci/board-da830-evm.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@
3636
#include <asm/mach-types.h>
3737
#include <asm/mach/arch.h>
3838

39-
#include <mach/common.h>
40-
#include <mach/mux.h>
41-
#include <mach/da8xx.h>
42-
39+
#include "common.h"
40+
#include "mux.h"
41+
#include "da8xx.h"
4342
#include "irqs.h"
4443

4544
#define DA830_EVM_PHY_ID ""

arch/arm/mach-davinci/board-da850-evm.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,9 @@
4343
#include <linux/spi/spi.h>
4444
#include <linux/spi/flash.h>
4545

46-
#include <mach/common.h>
47-
#include <mach/da8xx.h>
48-
#include <mach/mux.h>
49-
46+
#include "common.h"
47+
#include "da8xx.h"
48+
#include "mux.h"
5049
#include "irqs.h"
5150
#include "sram.h"
5251

arch/arm/mach-davinci/board-dm355-evm.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@
3333
#include <asm/mach-types.h>
3434
#include <asm/mach/arch.h>
3535

36-
#include <mach/serial.h>
37-
#include <mach/common.h>
38-
36+
#include "serial.h"
37+
#include "common.h"
3938
#include "davinci.h"
4039

4140
/* NOTE: this is geared for the standard config, with a socketed

arch/arm/mach-davinci/board-dm355-leopard.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@
2727
#include <asm/mach-types.h>
2828
#include <asm/mach/arch.h>
2929

30-
#include <mach/common.h>
31-
#include <mach/serial.h>
32-
30+
#include "common.h"
31+
#include "serial.h"
3332
#include "davinci.h"
3433

3534
/* NOTE: this is geared for the standard config, with a socketed

arch/arm/mach-davinci/board-dm365-evm.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@
3636
#include <asm/mach-types.h>
3737
#include <asm/mach/arch.h>
3838

39-
#include <mach/mux.h>
40-
#include <mach/common.h>
4139
#include <linux/platform_data/i2c-davinci.h>
42-
#include <mach/serial.h>
4340
#include <linux/platform_data/mmc-davinci.h>
4441
#include <linux/platform_data/mtd-davinci.h>
4542
#include <linux/platform_data/keyscan-davinci.h>
4643

4744
#include <media/i2c/ths7303.h>
4845
#include <media/i2c/tvp514x.h>
4946

47+
#include "mux.h"
48+
#include "common.h"
49+
#include "serial.h"
5050
#include "davinci.h"
5151

5252
static inline int have_imager(void)

arch/arm/mach-davinci/board-dm644x-evm.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@
3737
#include <asm/mach-types.h>
3838
#include <asm/mach/arch.h>
3939

40-
#include <mach/common.h>
41-
#include <mach/mux.h>
42-
#include <mach/serial.h>
43-
4440
#include <linux/platform_data/i2c-davinci.h>
4541
#include <linux/platform_data/mtd-davinci.h>
4642
#include <linux/platform_data/mmc-davinci.h>
@@ -49,6 +45,9 @@
4945
#include <linux/platform_data/ti-aemif.h>
5046

5147
#include "davinci.h"
48+
#include "common.h"
49+
#include "mux.h"
50+
#include "serial.h"
5251
#include "irqs.h"
5352

5453
#define DM644X_EVM_PHY_ID "davinci_mdio-0:01"

arch/arm/mach-davinci/board-dm646x-evm.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,8 @@
4343
#include <asm/mach-types.h>
4444
#include <asm/mach/arch.h>
4545

46-
#include <mach/common.h>
47-
#include <mach/serial.h>
48-
46+
#include "common.h"
47+
#include "serial.h"
4948
#include "davinci.h"
5049
#include "irqs.h"
5150

arch/arm/mach-davinci/board-mityomapl138.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@
2828
#include <asm/io.h>
2929
#include <asm/mach-types.h>
3030
#include <asm/mach/arch.h>
31-
#include <mach/common.h>
32-
#include <mach/da8xx.h>
31+
32+
#include "common.h"
33+
#include "da8xx.h"
34+
#include "mux.h"
35+
3336
#include <linux/platform_data/mtd-davinci.h>
3437
#include <linux/platform_data/mtd-davinci-aemif.h>
3538
#include <linux/platform_data/ti-aemif.h>
36-
#include <mach/mux.h>
3739
#include <linux/platform_data/spi-davinci.h>
3840

3941
#define MITYOMAPL138_PHY_ID ""

arch/arm/mach-davinci/board-neuros-osd2.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@
3636
#include <asm/mach-types.h>
3737
#include <asm/mach/arch.h>
3838

39-
#include <mach/common.h>
40-
#include <mach/serial.h>
41-
#include <mach/mux.h>
42-
39+
#include "common.h"
40+
#include "serial.h"
41+
#include "mux.h"
4342
#include "davinci.h"
4443

4544
#define NEUROS_OSD2_PHY_ID "davinci_mdio-0:01"

0 commit comments

Comments
 (0)