mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
mmc: tmio: fixup compile error
This patch fixes the below compile error:
${LINUX}/drivers/mmc/host/tmio_mmc.c: In function 'tmio_mmc_probe':
${LINUX}/drivers/mmc/host/tmio_mmc.c:93:35: \
error: 'res_ctl' undeclared (first use in this function)
${LINUX}/drivers/mmc/host/tmio_mmc.c:93:35: \
note: each undeclared identifier is reported only \
once for each function it appears in
Reported-by: Arnd Bergmann <[email protected]>
Signed-off-by: Kuninori Morimoto <[email protected]>
Acked-by: Simon Horman <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
This commit is contained in:
parent
6e44324430
commit
1e0bf16cae
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ static int tmio_mmc_probe(struct platform_device *pdev)
|
|||
return -EINVAL;
|
||||
|
||||
/* SD control register space size is 0x200, 0x400 for bus_shift=1 */
|
||||
pdata->bus_shift = resource_size(res_ctl) >> 10;
|
||||
pdata->bus_shift = resource_size(res) >> 10;
|
||||
pdata->flags |= TMIO_MMC_HAVE_HIGH_REG;
|
||||
|
||||
ret = tmio_mmc_host_probe(&host, pdev, pdata);
|
||||
|
|
|
|||
Loading…
Reference in a new issue