1. 27 10月, 2011 3 次提交
  2. 21 7月, 2011 2 次提交
    • S
      mmc: sdhci: change sdhci-pltfm into a module · f0de8369
      Shawn Guo 提交于
      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: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      f0de8369
    • S
      mmc: sdhci: make sdhci-pltfm device drivers self registered · 85d6509d
      Shawn Guo 提交于
      The patch turns the common stuff in sdhci-pltfm.c into functions, and
      add device drivers their own .probe and .remove which in turn call
      into the common functions, so that those sdhci-pltfm device drivers
      register itself and keep all device specific things away from common
      sdhci-pltfm file.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Reviewed-by: NGrant Likely <grant.likely@secretlab.ca>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NAnton Vorontsov <cbouatmailru@gmail.com>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      85d6509d
  3. 25 5月, 2011 1 次提交
  4. 16 3月, 2011 1 次提交
  5. 09 1月, 2011 1 次提交