summaryrefslogtreecommitdiff
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2014-11-04 13:42:41 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2014-11-10 14:40:51 +0300
commit1c3d5f6ddcb915c0e702cf513bad4a3b1583f48f (patch)
tree72cac80641c26c4fc3f5ad64fe28bad82e257ab0 /include/linux/mmc
parentb5ffa6749c596234243731e458739a2d793fb944 (diff)
downloadlinux-1c3d5f6ddcb915c0e702cf513bad4a3b1583f48f.tar.xz
mmc: sdhci: Use 'void *' for not 'u8 *' for ADMA data
It is kernel-style to use 'void *' for anonymous data. This is being applied to the ADMA bounce buffer which contains unaligned bytes, and to the ADMA descriptor table which will contain 32-bit ADMA descriptors or 64-bit ADMA descriptors when support is added. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/sdhci.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mmc/sdhci.h b/include/linux/mmc/sdhci.h
index 76e04324cc33..933dbbb50742 100644
--- a/include/linux/mmc/sdhci.h
+++ b/include/linux/mmc/sdhci.h
@@ -155,8 +155,8 @@ struct sdhci_host {
int sg_count; /* Mapped sg entries */
- u8 *adma_table; /* ADMA descriptor table */
- u8 *align_buffer; /* Bounce buffer */
+ void *adma_table; /* ADMA descriptor table */
+ void *align_buffer; /* Bounce buffer */
dma_addr_t adma_addr; /* Mapped ADMA descr. table */
dma_addr_t align_addr; /* Mapped bounce buffer */