projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a56855
)
ARM: mach-shmobile: ag5evm: consistently name sdhi info structures
author
Simon Horman
<horms@verge.net.au>
Mon, 20 Jun 2011 23:00:11 +0000
(23:00 +0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Tue, 21 Jun 2011 08:49:43 +0000
(17:49 +0900)
Name the SDHI1 instance sh_sdhi1_info to be consistent with sh_sdhi0_info.
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/board-ag5evm.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-shmobile/board-ag5evm.c
b/arch/arm/mach-shmobile/board-ag5evm.c
index 1e2aba23e0d6d56ea6ddcd696937344027493e8b..ce5c2513c6ce93f62f37356d55f2835fbf3a6332 100644
(file)
--- a/
arch/arm/mach-shmobile/board-ag5evm.c
+++ b/
arch/arm/mach-shmobile/board-ag5evm.c
@@
-381,7
+381,7
@@
void ag5evm_sdhi1_set_pwr(struct platform_device *pdev, int 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_caps = MMC_CAP_NONREMOVABLE | MMC_CAP_SDIO_IRQ,
.tmio_ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34,
@@
-413,7
+413,7
@@
static struct platform_device sdhi1_device = {
.name = "sh_mobile_sdhi",
.id = 1,
.dev = {
- .platform_data = &sh_sdhi1_
platdata
,
+ .platform_data = &sh_sdhi1_
info
,
},
.num_resources = ARRAY_SIZE(sdhi1_resources),
.resource = sdhi1_resources,