]> Pileus Git - ~andy/linux/commit
ARM: shmobile: Marzen: move USB EHCI, OHCI, and PHY devices to R8A7779 code
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 1 Jun 2013 21:30:15 +0000 (01:30 +0400)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 11 Jun 2013 07:10:40 +0000 (16:10 +0900)
commit2c8788bfd89bad424d3c288b5a52ce141271b862
tree7bfaa3328c62be862903d97aabf4aae26ebc7c13
parentae8b378faea7f04d4517b22f5d70d824adcbc4dc
ARM: shmobile: Marzen: move USB EHCI, OHCI, and PHY devices to R8A7779 code

USB EHCI, OHCI, and common PHY are the SoC devices but are wrongly defined and
registered in the Marzen board file.  Move the data and code to their proper
place in setup-r8a7779.c; while at it, we have to rename r8a7779_late_devices[]
to r8a7779_standard_devices[] -- this seems legitimate since they are registered
from r8a7779_add_standard_devices() anyway.

Note that I'm deliberately changing the USB PHY platform device's 'id' field
from (previously just omitted) 0 to -1 as the device is a single of its kind.

Note also that the board and SoC code have to be in one patch to keep the code
bisectable...

The patch has been tested on the Marzen board.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
[horms+renesas@verge.net.au: manually applied]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-marzen.c
arch/arm/mach-shmobile/include/mach/r8a7779.h
arch/arm/mach-shmobile/setup-r8a7779.c