Skip to content

Commit

Permalink
ARM: S5PV210: move regs-sys.h into setup-usb-phy.c file
Browse files Browse the repository at this point in the history
The <mach/regs-sys.h> can be moved into mach-s5pv210/setup-usb-phy.c
file.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Kukjin Kim committed Jan 10, 2013
1 parent 2d8c8a0 commit c48bcc2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
15 changes: 0 additions & 15 deletions arch/arm/mach-s5pv210/include/mach/regs-sys.h

This file was deleted.

7 changes: 6 additions & 1 deletion arch/arm/mach-s5pv210/setup-usb-phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,17 @@
#include <linux/err.h>
#include <linux/io.h>
#include <linux/platform_device.h>

#include <mach/map.h>
#include <mach/regs-sys.h>

#include <plat/cpu.h>
#include <plat/regs-usb-hsotg-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)
{
struct clk *xusbxti;
Expand Down

0 comments on commit c48bcc2

Please sign in to comment.