projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mmc: constify of_device_id array
[linux-2.6-block.git]
/
drivers
/
mmc
/
host
/
wmt-sdmmc.c
diff --git
a/drivers/mmc/host/wmt-sdmmc.c
b/drivers/mmc/host/wmt-sdmmc.c
index dd2e1aa95ba3fa4c999bfb25dc9fd3a7d3f08982..5af00559e9d6f7f933bccd41db4e3dc334a41673 100644
(file)
--- a/
drivers/mmc/host/wmt-sdmmc.c
+++ b/
drivers/mmc/host/wmt-sdmmc.c
@@
-744,7
+744,7
@@
static struct wmt_mci_caps wm8505_caps = {
.max_blk_size = 2048,
};
-static struct of_device_id wmt_mci_dt_ids[] = {
+static
const
struct of_device_id wmt_mci_dt_ids[] = {
{ .compatible = "wm,wm8505-sdhc", .data = &wm8505_caps },
{ /* Sentinel */ },
};