Skip to content

Commit

Permalink
ARM: S3C24XX: remove dsc.c and make regs-dsc.h local
Browse files Browse the repository at this point in the history
The mach-s3c2440/dsc.c is no longer used and the header, regs-dsc.h
can be local in mach-s3c24xx/.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Kukjin Kim committed Jan 10, 2013
1 parent 2a8394f commit b435378
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 62 deletions.
2 changes: 0 additions & 2 deletions arch/arm/mach-s3c2440/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ obj-m :=
obj-n :=
obj- :=

obj-$(CONFIG_CPU_S3C2440) += dsc.o

obj-$(CONFIG_S3C2440_CPUFREQ) += s3c2440-cpufreq.o

obj-$(CONFIG_S3C2440_PLL_12000000) += s3c2440-pll-12000000.o
Expand Down
54 changes: 0 additions & 54 deletions arch/arm/mach-s3c2440/dsc.c

This file was deleted.

8 changes: 4 additions & 4 deletions arch/arm/mach-s3c24xx/pm-s3c2412.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@
#include <linux/platform_device.h>
#include <linux/io.h>

#include <mach/hardware.h>
#include <asm/cacheflush.h>
#include <asm/irq.h>

#include <mach/regs-power.h>
#include <mach/hardware.h>
#include <mach/regs-gpio.h>
#include <mach/regs-dsc.h>
#include <mach/regs-power.h>

#include <plat/cpu.h>
#include <plat/pm.h>

#include <plat/s3c2412.h>

#include "regs-dsc.h"

extern void s3c2412_sleep_enter(void);

static int s3c2412_cpu_suspend(unsigned long arg)
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion arch/arm/mach-s3c24xx/s3c2412.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@

#include <mach/hardware.h>
#include <mach/regs-clock.h>
#include <mach/regs-dsc.h>
#include <mach/regs-gpio.h>
#include <mach/regs-power.h>

Expand All @@ -48,6 +47,8 @@
#include <plat/regs-spi.h>
#include <plat/s3c2412.h>

#include "regs-dsc.h"

#define S3C2412_SWRST (S3C24XX_VA_CLKPWR + 0x30)
#define S3C2412_SWRST_RESET (0x533C2412)

Expand Down
3 changes: 2 additions & 1 deletion arch/arm/mach-s3c24xx/s3c244x.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
#include <mach/regs-clock.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <mach/regs-dsc.h>

#include <plat/s3c2410.h>
#include <plat/s3c244x.h>
Expand All @@ -48,6 +47,8 @@
#include <plat/nand-core.h>
#include <plat/watchdog-reset.h>

#include "regs-dsc.h"

static struct map_desc s3c244x_iodesc[] __initdata = {
IODESC_ENT(CLKPWR),
IODESC_ENT(TIMER),
Expand Down

0 comments on commit b435378

Please sign in to comment.