MIPS: Alchemy: use the OHCI platform driver
authorFlorian Fainelli <florian@openwrt.org>
Mon, 8 Oct 2012 13:11:38 +0000 (15:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 18:29:04 +0000 (11:29 -0700)
commite223a4cca70fb6d3954abab7e96a5f54d64d79d4
treeaa0b34e9719429a0cbdf117f9dd13c5d19936832
parent231a72e03af68f791e3f34dbc22117ebb18bdbb0
MIPS: Alchemy: use the OHCI platform driver

Convert the Alchemy platform to register the ohci-platform driver, now that
the ohci-platform driver properly handles the specific ohci-au1xxx resume
from suspend case.

This also greatly simplifies the power_{on,off} callbacks and make them
work on platform device id instead of checking the OHCI controller base
address like what was done in ohci-au1xxx.c.

Impacted defconfigs are also updated accordingly to select the OHCI platform
driver.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/alchemy/common/platform.c
arch/mips/configs/db1000_defconfig
arch/mips/configs/gpr_defconfig
arch/mips/configs/mtx1_defconfig
This page took 0.027057 seconds and 5 git commands to generate.