mmc: sdhci-of: fix build on non-powerpc platforms
authorRob Herring <rob.herring@calxeda.com>
Tue, 16 Nov 2010 20:33:52 +0000 (14:33 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 14 Jan 2011 07:22:44 +0000 (00:22 -0700)
commitc289ef41431144a538b5fb5f94fc83c81b3020e2
treee0d0ffe6f72119f51b34c6802072c670ad90e215
parent52cfd503ad7176d23a5dd7af3981744feb60622f
mmc: sdhci-of: fix build on non-powerpc platforms

Explicitly include err.h, of_address.h and of_irq.h.
Make use of machine_is() conditional on PPC.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/mmc/host/sdhci-of-core.c