[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1407755870-439-1-git-send-email-kiran.padwal21@gmail.com>
Date: Mon, 11 Aug 2014 16:47:50 +0530
From: Kiran Padwal <kiran.padwal21@...il.com>
To: swarren@...dotorg.org, linus.walleij@...aro.org
Cc: thierry.reding@...il.com, kiran.padwal21@...il.com,
linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] pinctrl: tegra114: Make of_device_id array const
Make of_device_id array const, because all OF functions handle it as const.
Signed-off-by: Kiran Padwal <kiran.padwal21@...il.com>
---
drivers/pinctrl/pinctrl-tegra114.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/pinctrl-tegra114.c b/drivers/pinctrl/pinctrl-tegra114.c
index 33614ba..a3db85b 100644
--- a/drivers/pinctrl/pinctrl-tegra114.c
+++ b/drivers/pinctrl/pinctrl-tegra114.c
@@ -1850,7 +1850,7 @@ static int tegra114_pinctrl_probe(struct platform_device *pdev)
return tegra_pinctrl_probe(pdev, &tegra114_pinctrl);
}
-static struct of_device_id tegra114_pinctrl_of_match[] = {
+static const struct of_device_id tegra114_pinctrl_of_match[] = {
{ .compatible = "nvidia,tegra114-pinmux", },
{ },
};
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists