Commit f2bfd174 authored by Kukjin Kim's avatar Kukjin Kim

ARM: S3C64XX: make regs-sys.h local

The header file can be local in mach-s3c64xx/.
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 8eba8ea2
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/map.h> #include <mach/map.h>
#include <mach/regs-sys.h>
#include <mach/regs-clock.h> #include <mach/regs-clock.h>
#include <plat/cpu.h> #include <plat/cpu.h>
...@@ -33,6 +32,8 @@ ...@@ -33,6 +32,8 @@
#include <plat/clock-clksrc.h> #include <plat/clock-clksrc.h>
#include <plat/pll.h> #include <plat/pll.h>
#include "regs-sys.h"
/* fin_apll, fin_mpll and fin_epll are all the same clock, which we call /* fin_apll, fin_mpll and fin_epll are all the same clock, which we call
* ext_xtal_mux for want of an actual name from the manual. * ext_xtal_mux for want of an actual name from the manual.
*/ */
......
...@@ -20,9 +20,10 @@ ...@@ -20,9 +20,10 @@
#include <mach/map.h> #include <mach/map.h>
#include <mach/regs-sys.h>
#include <mach/regs-syscon-power.h> #include <mach/regs-syscon-power.h>
#include "regs-sys.h"
static int s3c64xx_enter_idle(struct cpuidle_device *dev, static int s3c64xx_enter_idle(struct cpuidle_device *dev,
struct cpuidle_driver *drv, struct cpuidle_driver *drv,
int index) int index)
......
...@@ -28,10 +28,10 @@ ...@@ -28,10 +28,10 @@
#include <mach/map.h> #include <mach/map.h>
#include <mach/irqs.h> #include <mach/irqs.h>
#include <mach/regs-sys.h>
#include <asm/hardware/pl080.h> #include <asm/hardware/pl080.h>
#include "regs-sys.h"
/* dma channel state information */ /* dma channel state information */
struct s3c64xx_dmac { struct s3c64xx_dmac {
......
...@@ -50,7 +50,6 @@ ...@@ -50,7 +50,6 @@
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/map.h> #include <mach/map.h>
#include <mach/regs-sys.h>
#include <mach/regs-gpio.h> #include <mach/regs-gpio.h>
#include <plat/regs-serial.h> #include <plat/regs-serial.h>
...@@ -71,6 +70,7 @@ ...@@ -71,6 +70,7 @@
#include "crag6410.h" #include "crag6410.h"
#include "regs-gpio-memport.h" #include "regs-gpio-memport.h"
#include "regs-modem.h" #include "regs-modem.h"
#include "regs-sys.h"
/* serial port setup */ /* serial port setup */
......
...@@ -58,7 +58,6 @@ ...@@ -58,7 +58,6 @@
#include <plat/regs-serial.h> #include <plat/regs-serial.h>
#include <mach/regs-gpio.h> #include <mach/regs-gpio.h>
#include <mach/regs-sys.h>
#include <linux/platform_data/ata-samsung_cf.h> #include <linux/platform_data/ata-samsung_cf.h>
#include <linux/platform_data/i2c-s3c2410.h> #include <linux/platform_data/i2c-s3c2410.h>
#include <plat/fb.h> #include <plat/fb.h>
...@@ -75,6 +74,7 @@ ...@@ -75,6 +74,7 @@
#include "common.h" #include "common.h"
#include "regs-modem.h" #include "regs-modem.h"
#include "regs-srom.h" #include "regs-srom.h"
#include "regs-sys.h"
#define UCON S3C2410_UCON_DEFAULT | S3C2410_UCON_UCLK #define UCON S3C2410_UCON_DEFAULT | S3C2410_UCON_UCLK
#define ULCON S3C2410_LCON_CS8 | S3C2410_LCON_PNONE | S3C2410_LCON_STOPB #define ULCON S3C2410_LCON_CS8 | S3C2410_LCON_PNONE | S3C2410_LCON_STOPB
......
...@@ -26,13 +26,13 @@ ...@@ -26,13 +26,13 @@
#include <plat/pm.h> #include <plat/pm.h>
#include <plat/wakeup-mask.h> #include <plat/wakeup-mask.h>
#include <mach/regs-sys.h>
#include <mach/regs-gpio.h> #include <mach/regs-gpio.h>
#include <mach/regs-clock.h> #include <mach/regs-clock.h>
#include <mach/regs-syscon-power.h> #include <mach/regs-syscon-power.h>
#include "regs-gpio-memport.h" #include "regs-gpio-memport.h"
#include "regs-modem.h" #include "regs-modem.h"
#include "regs-sys.h"
struct s3c64xx_pm_domain { struct s3c64xx_pm_domain {
char *const name; char *const name;
......
/* arch/arm/plat-s3c64xx/include/plat/regs-sys.h /*
*
* Copyright 2008 Openmoko, Inc. * Copyright 2008 Openmoko, Inc.
* Copyright 2008 Simtec Electronics * Copyright 2008 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
...@@ -12,8 +11,8 @@ ...@@ -12,8 +11,8 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#ifndef __PLAT_REGS_SYS_H #ifndef __MACH_S3C64XX_REGS_SYS_H
#define __PLAT_REGS_SYS_H __FILE__ #define __MACH_S3C64XX_REGS_SYS_H __FILE__
#define S3C_SYSREG(x) (S3C_VA_SYS + (x)) #define S3C_SYSREG(x) (S3C_VA_SYS + (x))
...@@ -28,4 +27,4 @@ ...@@ -28,4 +27,4 @@
#define S3C64XX_OTHERS_USBMASK (1 << 16) #define S3C64XX_OTHERS_USBMASK (1 << 16)
#define S3C64XX_OTHERS_SYNCMUXSEL (1 << 6) #define S3C64XX_OTHERS_SYNCMUXSEL (1 << 6)
#endif /* _PLAT_REGS_SYS_H */ #endif /* __MACH_S3C64XX_REGS_SYS_H */
...@@ -15,11 +15,12 @@ ...@@ -15,11 +15,12 @@
#include <linux/io.h> #include <linux/io.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <mach/map.h> #include <mach/map.h>
#include <mach/regs-sys.h>
#include <plat/cpu.h> #include <plat/cpu.h>
#include <plat/regs-usb-hsotg-phy.h> #include <plat/regs-usb-hsotg-phy.h>
#include <plat/usb-phy.h> #include <plat/usb-phy.h>
#include "regs-sys.h"
static int s3c_usb_otgphy_init(struct platform_device *pdev) static int s3c_usb_otgphy_init(struct platform_device *pdev)
{ {
struct clk *xusbxti; struct clk *xusbxti;
......
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