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>
This commit is contained in:
Adrian Hunter
2014-11-04 12:42:41 +02:00
committed by Ulf Hansson
parent b5ffa6749c
commit 1c3d5f6ddc
2 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -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 */