projects
/
GitHub
/
moto-9609
/
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:
bcf5352
)
mmc: mxcmmc: constify mxcmci_devtype
author
Anatolij Gustschin
<agust@denx.de>
Mon, 8 Apr 2013 21:28:08 +0000
(23:28 +0200)
committer
Chris Ball
<cjb@laptop.org>
Fri, 12 Apr 2013 19:13:34 +0000
(15:13 -0400)
mxcmci_devtype struct contains constant data, so
constify this struct.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/mxcmmc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/mxcmmc.c
b/drivers/mmc/host/mxcmmc.c
index df28ebf7e2400fa700ec106bcbb3c15d78bb77d0..5d528269587f4295e29ef51b96e19fc76a60c00c 100644
(file)
--- a/
drivers/mmc/host/mxcmmc.c
+++ b/
drivers/mmc/host/mxcmmc.c
@@
-165,7
+165,7
@@
struct mxcmci_host {
enum mxcmci_type devtype;
};
-static struct platform_device_id mxcmci_devtype[] = {
+static
const
struct platform_device_id mxcmci_devtype[] = {
{
.name = "imx21-mmc",
.driver_data = IMX21_MMC,