summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/hsmmc.h
diff options
context:
space:
mode:
authorAndreas Fenkart <afenkart@gmail.com>2014-11-08 15:33:17 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2014-11-26 14:30:56 +0100
commit80412ca8abf087354891108d2f888ad3de56e73c (patch)
tree718cc12ad96919af4c4e18fa94cdeddf3547275d /arch/arm/mach-omap2/hsmmc.h
parentmmc: omap_hsmmc: Remove unnecessary callbacks from platform data (diff)
downloadlinux-80412ca8abf087354891108d2f888ad3de56e73c.tar.xz
linux-80412ca8abf087354891108d2f888ad3de56e73c.zip
mmc: omap_hsmmc: remove unused slot_id parameter
omap_hsmmc only supports one slot. So slot id is always zero, and slot id was never used in the callbacks anyway Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Andreas Fenkart <afenkart@gmail.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'arch/arm/mach-omap2/hsmmc.h')
-rw-r--r--arch/arm/mach-omap2/hsmmc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/hsmmc.h b/arch/arm/mach-omap2/hsmmc.h
index 30c78c17eb7e..148cd9b15499 100644
--- a/arch/arm/mach-omap2/hsmmc.h
+++ b/arch/arm/mach-omap2/hsmmc.h
@@ -23,7 +23,7 @@ struct omap2_hsmmc_info {
struct platform_device *pdev; /* mmc controller instance */
int ocr_mask; /* temporary HACK */
/* Remux (pad configuration) when powering on/off */
- void (*remux)(struct device *dev, int slot, int power_on);
+ void (*remux)(struct device *dev, int power_on);
/* init some special card */
void (*init_card)(struct mmc_card *card);
};