mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
gpio: lpc32xx: Make of_device_id array const
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han <[email protected]> Acked-By: Roland Stigge <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
1 parent
3f7dbfd8ee
commit
e95c7c45a8
1 file changed
+1
-1
@@ -560,7 +560,7 @@ static int lpc32xx_gpio_probe(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
#ifdef CONFIG_OF
|
||||
static struct of_device_id lpc32xx_gpio_of_match[] = {
|
||||
static const struct of_device_id lpc32xx_gpio_of_match[] = {
|
||||
{ .compatible = "nxp,lpc3220-gpio", },
|
||||
{ },
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user