Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91194
b: refs/heads/master
c: 705a752
h: refs/heads/master
v: v3
  • Loading branch information
Lennert Buytenhek authored and Nicolas Pitre committed Mar 27, 2008
1 parent 07efe02 commit e4d7eef
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2bac1de2031aa4cad88a437d4410ec289da4f7dc
refs/heads/master: 705a752162768fed3e2c26fba5bffdd3a3bd04f2
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-orion/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <asm/arch/hardware.h>
#include <asm/arch/orion.h>
#include <asm/arch/platform.h>
#include <asm/plat-orion/ehci-orion.h>
#include <asm/plat-orion/time.h>
#include "common.h"

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/usb/host/ehci-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ MODULE_LICENSE ("GPL");
#define OF_PLATFORM_DRIVER ehci_hcd_ppc_of_driver
#endif

#ifdef CONFIG_ARCH_ORION
#ifdef CONFIG_PLAT_ORION
#include "ehci-orion.c"
#define PLATFORM_DRIVER ehci_orion_driver
#endif
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/usb/host/ehci-orion.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/mbus.h>
#include <asm/arch/orion.h>
#include <asm/arch/platform.h>
#include <asm/plat-orion/ehci-orion.h>

#define rdl(off) __raw_readl(hcd->regs + (off))
#define wrl(off, val) __raw_writel((val), hcd->regs + (off))
Expand Down
8 changes: 0 additions & 8 deletions trunk/include/asm-arm/arch-orion/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@
#ifndef __ASM_ARCH_PLATFORM_H__
#define __ASM_ARCH_PLATFORM_H__

/*
* Orion EHCI platform driver data.
*/
struct orion_ehci_data {
struct mbus_dram_target_info *dram;
};


/*
* Device bus NAND private data
*/
Expand Down
19 changes: 19 additions & 0 deletions trunk/include/asm-arm/plat-orion/ehci-orion.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
* include/asm-arm/plat-orion/ehci-orion.h
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/

#ifndef __ASM_PLAT_ORION_EHCI_ORION_H
#define __ASM_PLAT_ORION_EHCI_ORION_H

#include <linux/mbus.h>

struct orion_ehci_data {
struct mbus_dram_target_info *dram;
};


#endif

0 comments on commit e4d7eef

Please sign in to comment.