]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] ohci-pxa27x: introduce flags to avoid direct access to OHCI registers
authorEric Miao <eric.miao@marvell.com>
Sat, 27 Sep 2008 07:49:57 +0000 (15:49 +0800)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 7 Oct 2008 18:12:57 +0000 (19:12 +0100)
commit097b53348f34a461d2b07081eae12d823cf3d729
tree62f59bdfc0252346666158b6c236fc250850cb36
parent52358ba3a89012c54712c24074ceb4b1c669af52
[ARM] ohci-pxa27x: introduce flags to avoid direct access to OHCI registers

Direct access to USB host controller registers is considered to be not
portable, and is usually a bad sign for poorly abstracted interface.
Introduce .flags and .power_on_delay to "struct pxaohci_platform_data"
so that most platforms don't bother to write their own .init/.exit()
sequences.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
12 files changed:
arch/arm/mach-pxa/cm-x270.c
arch/arm/mach-pxa/cm-x300.c
arch/arm/mach-pxa/em-x270.c
arch/arm/mach-pxa/include/mach/ohci.h
arch/arm/mach-pxa/include/mach/pxa-regs.h
arch/arm/mach-pxa/lpd270.c
arch/arm/mach-pxa/magician.c
arch/arm/mach-pxa/mainstone.c
arch/arm/mach-pxa/pcm990-baseboard.c
arch/arm/mach-pxa/spitz.c
arch/arm/mach-pxa/trizeps4.c
drivers/usb/host/ohci-pxa27x.c