Skip to content

Commit

Permalink
ARM: S3C24XX: plat/common-smdk.h local
Browse files Browse the repository at this point in the history
The header file plat/common-smdk.h is used only in mach-s3c24xx/,
so this patch moves it into mach-s3c24xx directory.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Kukjin Kim committed Mar 5, 2013
1 parent 24fae0f commit 4d512a9
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 11 deletions.
3 changes: 2 additions & 1 deletion arch/arm/mach-s3c24xx/common-smdk.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,12 @@

#include <linux/platform_data/mtd-nand-s3c2410.h>

#include <plat/common-smdk.h>
#include <plat/gpio-cfg.h>
#include <plat/devs.h>
#include <plat/pm.h>

#include "common-smdk.h"

/* LED devices */

static struct s3c24xx_led_platdata smdk_pdata_led4 = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* linux/arch/arm/plat-samsung/include/plat/common-smdk.h
*
/*
* Copyright (c) 2006 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
*
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c24xx/mach-qt2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@
#include <linux/platform_data/usb-s3c2410_udc.h>
#include <linux/platform_data/i2c-s3c2410.h>

#include <plat/common-smdk.h>
#include <plat/gpio-cfg.h>
#include <plat/devs.h>
#include <plat/cpu.h>
#include <plat/pm.h>

#include "common.h"
#include "common-smdk.h"

static struct map_desc qt2410_iodesc[] __initdata = {
{ 0xe0000000, __phys_to_pfn(S3C2410_CS3+0x01000000), SZ_1M, MT_DEVICE }
Expand Down
3 changes: 1 addition & 2 deletions arch/arm/mach-s3c24xx/mach-smdk2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@
#include <plat/devs.h>
#include <plat/cpu.h>

#include <plat/common-smdk.h>

#include "common.h"
#include "common-smdk.h"

static struct map_desc smdk2410_iodesc[] __initdata = {
/* nothing here yet */
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c24xx/mach-smdk2413.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
#include <plat/devs.h>
#include <plat/cpu.h>

#include <plat/common-smdk.h>
#include "common-smdk.h"

static struct map_desc smdk2413_iodesc[] __initdata = {
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c24xx/mach-smdk2416.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

#include <plat/fb.h>

#include <plat/common-smdk.h>
#include "common-smdk.h"

static struct map_desc smdk2416_iodesc[] __initdata = {
/* ISA IO Space map (memory space selected by A24) */
Expand Down
3 changes: 1 addition & 2 deletions arch/arm/mach-s3c24xx/mach-smdk2440.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@
#include <plat/devs.h>
#include <plat/cpu.h>

#include <plat/common-smdk.h>

#include "common.h"
#include "common-smdk.h"

static struct map_desc smdk2440_iodesc[] __initdata = {
/* ISA IO Space map (memory space selected by A24) */
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c24xx/mach-smdk2443.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#include <plat/devs.h>
#include <plat/cpu.h>

#include <plat/common-smdk.h>
#include "common-smdk.h"

static struct map_desc smdk2443_iodesc[] __initdata = {
/* ISA IO Space map (memory space selected by A24) */
Expand Down

0 comments on commit 4d512a9

Please sign in to comment.