[POWERPC] Create Marvell mv64x60 I2C platform_data
authorDale Farnsworth <dale@farnsworth.org>
Sat, 12 May 2007 00:56:47 +0000 (10:56 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 12 May 2007 01:32:50 +0000 (11:32 +1000)
commit01f0e78e15c52af480c867af5bd406afec80d9cc
tree2f9ea0af73d3662343a8cf0637855f4e544d424f
parent649c8e0289eeee2ab3d4c6c6e062df24dd602233
[POWERPC] Create Marvell mv64x60 I2C platform_data

This patch creates platform_device entries for the Marvell mv64x60
I2C ports, based on information contained in device tree.

This driver (like the other mv64x60 drivers) are unusual in that it
works on both the MIPS and PowerPC architectures.  Because of that,
the drivers do not support the normal PowerPC of_platform_bus_type.
They support platform_bus_type instead.

Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/sysdev/mv64x60_dev.c