Commit 9e05cdde authored by Simon Horman's avatar Simon Horman Committed by Paul Mundt

ARM: mach-shmobile: ag5evm: consistently name sdhi info structures

Name the SDHI1 instance sh_sdhi1_info to be consistent with sh_sdhi0_info.
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 5a568552
...@@ -381,7 +381,7 @@ void ag5evm_sdhi1_set_pwr(struct platform_device *pdev, int state) ...@@ -381,7 +381,7 @@ void ag5evm_sdhi1_set_pwr(struct platform_device *pdev, int state)
gpio_set_value(GPIO_PORT114, state); gpio_set_value(GPIO_PORT114, state);
} }
static struct sh_mobile_sdhi_info sh_sdhi1_platdata = { static struct sh_mobile_sdhi_info sh_sdhi1_info = {
.tmio_flags = TMIO_MMC_WRPROTECT_DISABLE, .tmio_flags = TMIO_MMC_WRPROTECT_DISABLE,
.tmio_caps = MMC_CAP_NONREMOVABLE | MMC_CAP_SDIO_IRQ, .tmio_caps = MMC_CAP_NONREMOVABLE | MMC_CAP_SDIO_IRQ,
.tmio_ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34, .tmio_ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34,
...@@ -413,7 +413,7 @@ static struct platform_device sdhi1_device = { ...@@ -413,7 +413,7 @@ static struct platform_device sdhi1_device = {
.name = "sh_mobile_sdhi", .name = "sh_mobile_sdhi",
.id = 1, .id = 1,
.dev = { .dev = {
.platform_data = &sh_sdhi1_platdata, .platform_data = &sh_sdhi1_info,
}, },
.num_resources = ARRAY_SIZE(sdhi1_resources), .num_resources = ARRAY_SIZE(sdhi1_resources),
.resource = sdhi1_resources, .resource = sdhi1_resources,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment