mmc_spi: Add support for OpenFirmware bindings
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Tue, 30 Dec 2008 15:15:28 +0000 (18:15 +0300)
committerPierre Ossman <drzeus@drzeus.cx>
Wed, 31 Dec 2008 18:01:55 +0000 (19:01 +0100)
commit9c43df57910bbba540a6cb5c9132302a9ea5f41a
treea3f7debf605e4ad9a9d61a775222c5b6d738da26
parentc00a46abd4d45a67ff62f4ff6d4f839dff38b877
mmc_spi: Add support for OpenFirmware bindings

The support is implemented via platform data accessors, new module
(of_mmc_spi) will be created automatically when the driver compiles
on OpenFirmware platforms. Link-time dependency will load the module
automatically.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/Makefile
drivers/mmc/host/mmc_spi.c
drivers/mmc/host/of_mmc_spi.c [new file with mode: 0644]
include/linux/spi/mmc_spi.h