projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cee4e7a
)
mmc: sdhci_f_sdh30: Fix the size passed to sdhci_alloc_host
author
Axel Lin
<axel.lin@ingics.com>
Fri, 24 Apr 2015 07:02:00 +0000
(15:02 +0800)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 1 Jun 2015 07:06:46 +0000
(09:06 +0200)
sdhci_alloc_host() takes priv_size rather than
sizeof(struct sdhci_host) + priv_size.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci_f_sdh30.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/sdhci_f_sdh30.c
b/drivers/mmc/host/sdhci_f_sdh30.c
index 5397e2755a145bb759f9581f10be01b17d4a8722..983b8b32ef960057ea0f09ee309de5e7ae1e842c 100644
(file)
--- a/
drivers/mmc/host/sdhci_f_sdh30.c
+++ b/
drivers/mmc/host/sdhci_f_sdh30.c
@@
-114,8
+114,7
@@
static int sdhci_f_sdh30_probe(struct platform_device *pdev)
return irq;
}
- host = sdhci_alloc_host(dev, sizeof(struct sdhci_host) +
- sizeof(struct f_sdhost_priv));
+ host = sdhci_alloc_host(dev, sizeof(struct f_sdhost_priv));
if (IS_ERR(host))
return PTR_ERR(host);