mmc: sdhci-pci: Build o2micro support in the same module
authorBen Hutchings <ben@decadent.org.uk>
Mon, 5 Oct 2015 19:31:18 +0000 (20:31 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Oct 2015 15:00:05 +0000 (16:00 +0100)
commit659c9bc114a810b3a3c1e50585cc57f1312a6d60
tree2f3a0b2f7c6dec30127d6b4a3630e7fec50a7d28
parent0de9125fa823e526c9f68dc0987aae342ec94cbd
mmc: sdhci-pci: Build o2micro support in the same module

sdhci-pci-o2micro.c contains no initialisation and its functions are only
called from shdci-pci.c, so there is no reason for it to be a separate
module, let alone or for it to always be built-in.

- Rename sdhci-pci.c to sdhci-pci-core.c so that the sdhci-pci module
  can be built from multiple source files
- Add sdhci-pci-o2micro.c to it
- Remove redundant exports

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/Makefile
drivers/mmc/host/sdhci-pci-core.c [new file with mode: 0644]
drivers/mmc/host/sdhci-pci-o2micro.c
drivers/mmc/host/sdhci-pci.c [deleted file]