mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Correction of "Update drivers to use sg helpers" patch for IMXMMC driver
The previous change omits "data->" prefix in the "data->sg" case. This change fixes kernel compilation. Signed-off-by: Pavel Pisa <[email protected]> drivers/mmc/host/imxmmc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
513f54b78f
commit
e1efa2a3ea
1 changed files with 1 additions and 1 deletions
|
|
@ -262,7 +262,7 @@ static void imxmci_setup_data(struct imxmci_host *host, struct mmc_data *data)
|
|||
}
|
||||
|
||||
/* Convert back to virtual address */
|
||||
host->data_ptr = (u16*)sg_virt(sg);
|
||||
host->data_ptr = (u16*)sg_virt(data->sg);
|
||||
host->data_cnt = 0;
|
||||
|
||||
clear_bit(IMXMCI_PEND_DMA_DATA_b, &host->pending_events);
|
||||
|
|
|
|||
Loading…
Reference in a new issue