From e62359283cc5ce3264a1634f822822669c6b2d9f Mon Sep 17 00:00:00 2001 From: Kukjin Kim Date: Wed, 2 Jan 2013 11:18:31 -0800 Subject: ARM: S3C64XX: make crag6410.h local The header can be local in mach-s3c64xx/. Cc: Mark Brown Signed-off-by: Kukjin Kim --- arch/arm/mach-s3c64xx/crag6410.h | 24 ++++++++++++++++++++++++ arch/arm/mach-s3c64xx/include/mach/crag6410.h | 24 ------------------------ arch/arm/mach-s3c64xx/mach-crag6410-module.c | 2 +- arch/arm/mach-s3c64xx/mach-crag6410.c | 2 +- 4 files changed, 26 insertions(+), 26 deletions(-) create mode 100644 arch/arm/mach-s3c64xx/crag6410.h delete mode 100644 arch/arm/mach-s3c64xx/include/mach/crag6410.h (limited to 'arch') diff --git a/arch/arm/mach-s3c64xx/crag6410.h b/arch/arm/mach-s3c64xx/crag6410.h new file mode 100644 index 000000000000..4c3c9994fc2c --- /dev/null +++ b/arch/arm/mach-s3c64xx/crag6410.h @@ -0,0 +1,24 @@ +/* Cragganmore 6410 shared definitions + * + * Copyright 2011 Wolfson Microelectronics plc + * Mark Brown + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef MACH_CRAG6410_H +#define MACH_CRAG6410_H + +#include + +#define GLENFARCLAS_PMIC_IRQ_BASE IRQ_BOARD_START + +#define PCA935X_GPIO_BASE GPIO_BOARD_START +#define CODEC_GPIO_BASE (GPIO_BOARD_START + 8) +#define GLENFARCLAS_PMIC_GPIO_BASE (GPIO_BOARD_START + 32) +#define BANFF_PMIC_GPIO_BASE (GPIO_BOARD_START + 64) +#define MMGPIO_GPIO_BASE (GPIO_BOARD_START + 96) + +#endif diff --git a/arch/arm/mach-s3c64xx/include/mach/crag6410.h b/arch/arm/mach-s3c64xx/include/mach/crag6410.h deleted file mode 100644 index 4c3c9994fc2c..000000000000 --- a/arch/arm/mach-s3c64xx/include/mach/crag6410.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Cragganmore 6410 shared definitions - * - * Copyright 2011 Wolfson Microelectronics plc - * Mark Brown - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -#ifndef MACH_CRAG6410_H -#define MACH_CRAG6410_H - -#include - -#define GLENFARCLAS_PMIC_IRQ_BASE IRQ_BOARD_START - -#define PCA935X_GPIO_BASE GPIO_BOARD_START -#define CODEC_GPIO_BASE (GPIO_BOARD_START + 8) -#define GLENFARCLAS_PMIC_GPIO_BASE (GPIO_BOARD_START + 32) -#define BANFF_PMIC_GPIO_BASE (GPIO_BOARD_START + 64) -#define MMGPIO_GPIO_BASE (GPIO_BOARD_START + 96) - -#endif diff --git a/arch/arm/mach-s3c64xx/mach-crag6410-module.c b/arch/arm/mach-s3c64xx/mach-crag6410-module.c index c6d8dba90623..6e3d717fedbf 100644 --- a/arch/arm/mach-s3c64xx/mach-crag6410-module.c +++ b/arch/arm/mach-s3c64xx/mach-crag6410-module.c @@ -29,7 +29,7 @@ #include -#include +#include "crag6410.h" static struct s3c64xx_spi_csinfo wm0010_spi_csinfo = { .line = S3C64XX_GPC(3), diff --git a/arch/arm/mach-s3c64xx/mach-crag6410.c b/arch/arm/mach-s3c64xx/mach-crag6410.c index cdde249166b5..d5599694457b 100644 --- a/arch/arm/mach-s3c64xx/mach-crag6410.c +++ b/arch/arm/mach-s3c64xx/mach-crag6410.c @@ -53,7 +53,6 @@ #include #include #include -#include #include @@ -72,6 +71,7 @@ #include #include "common.h" +#include "crag6410.h" /* serial port setup */ -- cgit v1.2.1