[MMC] au1xmmc: Fix compilation error by using platform_driver
authorMartin Michlmayr <tbm@cyrius.com>
Sat, 4 Mar 2006 23:01:13 +0000 (23:01 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 4 Mar 2006 23:01:13 +0000 (23:01 +0000)
commitb256f9df4a7da248263ed95c2517ddb714f9ca95
tree3f9baba126313e35fec32a8ade61c08a29bab382
parentc499ec24c31edf270e777a868ffd0daddcfe7ebd
[MMC] au1xmmc: Fix compilation error by using platform_driver

drivers/mmc/au1xmmc.c currently doesn't compile; it needs to be
converted to use platform_driver.  I cannot test this change because
of lack of hardware but I followed the drivers this one is based on,
and the code is certainly not worse than before.

drivers/mmc/au1xmmc.c: At top level:
drivers/mmc/au1xmmc.c:1002: error: ‘platform_bus_type’ undeclared here (not in a function)
make[2]: *** [drivers/mmc/au1xmmc.o] Error 1

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/au1xmmc.c