summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/ssbi.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2013-12-10 15:35:19 -0800
committerLee Jones <lee.jones@linaro.org>2014-01-21 08:28:08 +0000
commit12eda2a2e644d319dfc49bede1620c2f48ccbc8a (patch)
treec958e16dd855bdb4186890ca79b88a3ce98cd729 /drivers/mfd/ssbi.c
parent5eec14ccf90942fecd89e147e0b88ab12dd83e70 (diff)
downloadop-kernel-dev-12eda2a2e644d319dfc49bede1620c2f48ccbc8a.zip
op-kernel-dev-12eda2a2e644d319dfc49bede1620c2f48ccbc8a.tar.gz
mfd: ssbi: Mark match table const
This is a read-only data structure. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/ssbi.c')
-rw-r--r--drivers/mfd/ssbi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/ssbi.c b/drivers/mfd/ssbi.c
index dd1d28f..b78942e 100644
--- a/drivers/mfd/ssbi.c
+++ b/drivers/mfd/ssbi.c
@@ -317,7 +317,7 @@ static int ssbi_probe(struct platform_device *pdev)
return of_platform_populate(np, NULL, NULL, &pdev->dev);
}
-static struct of_device_id ssbi_match_table[] = {
+static const struct of_device_id ssbi_match_table[] = {
{ .compatible = "qcom,ssbi" },
{}
};
OpenPOWER on IntegriCloud