Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Stephen Boyd and committed by
Lee Jones
12eda2a2 5eec14cc

+1 -1
+1 -1
drivers/mfd/ssbi.c
··· 317 317 return of_platform_populate(np, NULL, NULL, &pdev->dev); 318 318 } 319 319 320 - static struct of_device_id ssbi_match_table[] = { 320 + static const struct of_device_id ssbi_match_table[] = { 321 321 { .compatible = "qcom,ssbi" }, 322 322 {} 323 323 };