diff options
author | Per Forlin <per.forlin@stericsson.com> | 2011-11-14 06:02:28 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-01-11 23:58:41 -0500 |
commit | 5a09262744a0b84719b933ac66801de058776755 (patch) | |
tree | b0c089d7e0fd94a896c323d94ed7fa860e20f606 | |
parent | a303c5319c8e6ab0e744ebca118da8420043b2c3 (diff) |
mmc: mmci: add capabilities2 for MMC_CAP2
Signed-off-by: Per Forlin <per.forlin@stericsson.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
-rw-r--r-- | drivers/mmc/host/mmci.c | 1 | ||||
-rw-r--r-- | include/linux/amba/mmci.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index 50b5f9926f64..8eabf999a858 100644 --- a/drivers/mmc/host/mmci.c +++ b/drivers/mmc/host/mmci.c | |||
@@ -1239,6 +1239,7 @@ static int __devinit mmci_probe(struct amba_device *dev, | |||
1239 | if (host->vcc == NULL) | 1239 | if (host->vcc == NULL) |
1240 | mmc->ocr_avail = plat->ocr_mask; | 1240 | mmc->ocr_avail = plat->ocr_mask; |
1241 | mmc->caps = plat->capabilities; | 1241 | mmc->caps = plat->capabilities; |
1242 | mmc->caps2 = plat->capabilities2; | ||
1242 | 1243 | ||
1243 | /* | 1244 | /* |
1244 | * We can do SGIO | 1245 | * We can do SGIO |
diff --git a/include/linux/amba/mmci.h b/include/linux/amba/mmci.h index 21114810c7c0..0101e9c17fa1 100644 --- a/include/linux/amba/mmci.h +++ b/include/linux/amba/mmci.h | |||
@@ -30,6 +30,7 @@ struct dma_chan; | |||
30 | * @cd_invert: true if the gpio_cd pin value is active low | 30 | * @cd_invert: true if the gpio_cd pin value is active low |
31 | * @capabilities: the capabilities of the block as implemented in | 31 | * @capabilities: the capabilities of the block as implemented in |
32 | * this platform, signify anything MMC_CAP_* from mmc/host.h | 32 | * this platform, signify anything MMC_CAP_* from mmc/host.h |
33 | * @capabilities2: more capabilities, MMC_CAP2_* from mmc/host.h | ||
33 | * @dma_filter: function used to select an appropriate RX and TX | 34 | * @dma_filter: function used to select an appropriate RX and TX |
34 | * DMA channel to be used for DMA, if and only if you're deploying the | 35 | * DMA channel to be used for DMA, if and only if you're deploying the |
35 | * generic DMA engine | 36 | * generic DMA engine |
@@ -52,6 +53,7 @@ struct mmci_platform_data { | |||
52 | int gpio_cd; | 53 | int gpio_cd; |
53 | bool cd_invert; | 54 | bool cd_invert; |
54 | unsigned long capabilities; | 55 | unsigned long capabilities; |
56 | unsigned long capabilities2; | ||
55 | bool (*dma_filter)(struct dma_chan *chan, void *filter_param); | 57 | bool (*dma_filter)(struct dma_chan *chan, void *filter_param); |
56 | void *dma_rx_param; | 58 | void *dma_rx_param; |
57 | void *dma_tx_param; | 59 | void *dma_tx_param; |