summaryrefslogtreecommitdiff
path: root/drivers/w1/masters/omap_hdq.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-16 22:20:29 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-25 14:25:29 +0300
commit0a56c0e1e7ad4dc3721e96c499f3074cb6867cfe (patch)
tree9bddd3a4e5f884ab28fb7ce67f191f3586d213b3 /drivers/w1/masters/omap_hdq.c
parent4d8beff2ae07fad85d723b4cdf704b05f0ed4794 (diff)
downloadlinux-0a56c0e1e7ad4dc3721e96c499f3074cb6867cfe.tar.xz
w1: constify of_device_id array
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1/masters/omap_hdq.c')
-rw-r--r--drivers/w1/masters/omap_hdq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/masters/omap_hdq.c b/drivers/w1/masters/omap_hdq.c
index 03321d6a2684..e7d448963a24 100644
--- a/drivers/w1/masters/omap_hdq.c
+++ b/drivers/w1/masters/omap_hdq.c
@@ -72,7 +72,7 @@ struct hdq_data {
static int omap_hdq_probe(struct platform_device *pdev);
static int omap_hdq_remove(struct platform_device *pdev);
-static struct of_device_id omap_hdq_dt_ids[] = {
+static const struct of_device_id omap_hdq_dt_ids[] = {
{ .compatible = "ti,omap3-1w" },
{}
};