mfd: ssbi: Mark match table const
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 10 Dec 2013 23:35:19 +0000 (15:35 -0800)
committerLee Jones <lee.jones@linaro.org>
Tue, 21 Jan 2014 08:28:08 +0000 (08:28 +0000)
This is a read-only data structure.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ssbi.c

index dd1d28f..b78942e 100644 (file)
@@ -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" },
        {}
 };