summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Boyd2013-12-11 00:35:19 +0100
committerLee Jones2014-01-21 09:28:08 +0100
commit12eda2a2e644d319dfc49bede1620c2f48ccbc8a (patch)
treec958e16dd855bdb4186890ca79b88a3ce98cd729
parentmfd: ssbi: Constify buffer in ssbi_write (diff)
downloadkernel-qcow2-linux-12eda2a2e644d319dfc49bede1620c2f48ccbc8a.tar.gz
kernel-qcow2-linux-12eda2a2e644d319dfc49bede1620c2f48ccbc8a.tar.xz
kernel-qcow2-linux-12eda2a2e644d319dfc49bede1620c2f48ccbc8a.zip
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>
-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 dd1d28f343f6..b78942ed4c67 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" },
{}
};