Skip to content

Commit 12eda2a

Browse files
bebarinoLee Jones
authored andcommitted
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>
1 parent 5eec14c commit 12eda2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/mfd/ssbi.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ static int ssbi_probe(struct platform_device *pdev)
317317
return of_platform_populate(np, NULL, NULL, &pdev->dev);
318318
}
319319

320-
static struct of_device_id ssbi_match_table[] = {
320+
static const struct of_device_id ssbi_match_table[] = {
321321
{ .compatible = "qcom,ssbi" },
322322
{}
323323
};

0 commit comments

Comments
 (0)