Commit c48bcc2d authored by Kukjin Kim's avatar Kukjin Kim

ARM: S5PV210: move regs-sys.h into setup-usb-phy.c file

The <mach/regs-sys.h> can be moved into mach-s5pv210/setup-usb-phy.c
file.
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 2d8c8a02
/* arch/arm/mach-s5pv210/include/mach/regs-sys.h
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* S5PV210 - System registers definitions
*
* 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.
*/
#define S5PV210_USB_PHY_CON (S3C_VA_SYS + 0xE80C)
#define S5PV210_USB_PHY0_EN (1 << 0)
#define S5PV210_USB_PHY1_EN (1 << 1)
...@@ -12,12 +12,17 @@ ...@@ -12,12 +12,17 @@
#include <linux/err.h> #include <linux/err.h>
#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>
#define S5PV210_USB_PHY_CON (S3C_VA_SYS + 0xE80C)
#define S5PV210_USB_PHY0_EN (1 << 0)
#define S5PV210_USB_PHY1_EN (1 << 1)
static int s5pv210_usb_otgphy_init(struct platform_device *pdev) static int s5pv210_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