projects
/
platform
/
kernel
/
linux-rpi.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
|
history
diff --git
a/drivers/mmc/host/mxcmmc.c
b/drivers/mmc/host/mxcmmc.c
index
df28ebf
..
5d52826
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,