diff options
author | Magnus Damm <damm@igel.co.jp> | 2009-07-17 16:59:55 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-07-19 21:27:10 +0200 |
commit | 719a72b7c75bb239ca6184190ab994b71a31c6dc (patch) | |
tree | 43123abb8a4543988eaa6d0ef13bafb4e4e551d3 /arch/sh/boards/mach-se | |
parent | usb: convert r8a66597-hcd to dev_pm_ops (diff) | |
download | linux-719a72b7c75bb239ca6184190ab994b71a31c6dc.tar.xz linux-719a72b7c75bb239ca6184190ab994b71a31c6dc.zip |
usb: r8a66597-hcd platform data on_chip support
Convert the r8a66597-hcd driver to use the on_chip flag
from platform data to enable on chip behaviour instead
of relying on CONFIG_SUPERH_ON_CHIP_R8A66597 ugliness.
This makes the code cleaner and also allows us to support
both external and internal r8a66597 with the same kernel.
It also makes the Kconfig part more future proof since
we with this patch can add support for new processors
with on-chip r8a66597 without modifying the Kconfig.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/mach-se')
-rw-r--r-- | arch/sh/boards/mach-se/7724/setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-se/7724/setup.c b/arch/sh/boards/mach-se/7724/setup.c index 8fed45a2fb85..4fb7e48e2843 100644 --- a/arch/sh/boards/mach-se/7724/setup.c +++ b/arch/sh/boards/mach-se/7724/setup.c @@ -304,6 +304,7 @@ static struct platform_device sh_eth_device = { }; static struct r8a66597_platdata sh7724_usb0_host_data = { + .on_chip = 1, }; static struct resource sh7724_usb0_host_resources[] = { |