Skip to content

Commit

Permalink
Correction of "Update drivers to use sg helpers" patch for IMXMMC driver
Browse files Browse the repository at this point in the history
The previous change omits "data->" prefix
in the "data->sg" case. This change fixes kernel
compilation.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>

 drivers/mmc/host/imxmmc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Signed-off-by: Jens Axboe <axboe@carl.home.kernel.dk>
  • Loading branch information
Pavel Pisa authored and Jens Axboe committed Oct 29, 2007
1 parent 513f54b commit e1efa2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/host/imxmmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e1efa2a

Please sign in to comment.