i2c-nomadik: turn the platform driver to an amba driver
authorAlessandro Rubini <rubini@gnudd.com>
Mon, 11 Jun 2012 20:56:38 +0000 (22:56 +0200)
committerWolfram Sang <w.sang@pengutronix.de>
Mon, 9 Jul 2012 09:40:46 +0000 (11:40 +0200)
commit235602146ec9c1882edf1ccc68389c1176be8198
tree7b3afcf452f9b8aa65d8091ac700f3dad7f524e7
parentaf97bace2cca58ee7c94bf4d31e820f29688d7a5
i2c-nomadik: turn the platform driver to an amba driver

The i2c-nomadik gateware is really a PrimeCell APB device. By hosting
the driver under the amba bus we can access it more easily, for
example using the generic pci-amba driver. The patch also fixes the
mach-ux500 users, so they register an amba device instead than a
platform device.

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi@st.com>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
arch/arm/mach-ux500/devices-common.h
drivers/i2c/busses/i2c-nomadik.c