diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-02-14 12:35:03 (GMT) |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-02-24 19:37:18 (GMT) |
commit | 21f5998f10a4d10dce48e9831ab2deb7e8f1a1fa (patch) | |
tree | 187fe9a19a8c6ad33bcbefb6f91297e36c13278f /Documentation/coccinelle.txt | |
parent | a4f8f257eddcdf13417476c8479c616560a4417a (diff) | |
download | linux-fsl-qoriq-21f5998f10a4d10dce48e9831ab2deb7e8f1a1fa.tar.xz |
mmc: sdhci: Fix parameter of sdhci_do_start_signal_voltage_switch()
3714f4315354 ("mmc: sdhci: update signal voltage switch code") changed the
type of the second parameter of sdhci_do_start_signal_voltage_switch(),
from "struct mmc_ios *ios" to "int signal_voltage" which causes the
following build warning:
drivers/mmc/host/sdhci.c:2044:2: warning: initialization from incompatible pointer type [enabled by default]
drivers/mmc/host/sdhci.c:2044:2: warning: (near initialization for 'sdhci_ops.start_signal_voltage_switch') [enabled by default]
Use the previous type so that it matches the start_signal_voltage_switch()
definition from host.h.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Johan Rudholm <johan.rudholm@stericsson.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'Documentation/coccinelle.txt')
0 files changed, 0 insertions, 0 deletions