Shawn Guo f0de836923 mmc: sdhci: change sdhci-pltfm into a module
There are a couple of problems left from the sdhci pltfm and OF
consolidation changes.

* When building more than one sdhci-pltfm based drivers in the same
  image, linker will give multiple definition error on the sdhci-pltfm
  helper functions.  For example right now, building sdhci-of-esdhc
  and sdhci-of-hlwd together is a valid combination from Kconfig view.

* With the current build method, there is error with building the
  drivers as module, but module installation fails with modprobe.

The patch fixes above problems by changing sdhci-pltfm into a module.
To avoid EXPORT_SYMBOL on so many big endian IO accessors, it moves
these accessors into sdhci-pltfm.h as the 'static inline' functions.
As a result, sdhci.h needs to be included in sdhci-pltfm.h, and in
turn can be removed from individual drivers which already include
sdhci-pltfm.h.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
2011-07-20 17:20:49 -04:00
..
2011-05-18 23:24:50 +02:00
2010-11-01 15:38:34 -04:00
2011-03-15 13:51:47 -04:00
2008-12-16 14:58:17 +01:00
2011-03-31 11:26:23 -03:00
2009-03-24 21:30:03 +01:00
2011-03-15 13:49:32 -04:00
2011-03-31 11:26:23 -03:00
2009-10-01 16:11:15 -07:00
2011-03-15 13:48:25 -04:00
2011-05-25 16:52:26 -04:00
2011-05-25 16:51:40 -04:00
2011-03-25 10:30:49 -04:00
2011-03-31 11:26:23 -03:00
2007-07-26 01:53:31 +02:00