mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
spi: spi-gpio: 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]> Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
parent
790d190257
commit
d9e1528189
1 changed files with 1 additions and 1 deletions
|
|
@ -340,7 +340,7 @@ done:
|
|||
}
|
||||
|
||||
#ifdef CONFIG_OF
|
||||
static struct of_device_id spi_gpio_dt_ids[] = {
|
||||
static const struct of_device_id spi_gpio_dt_ids[] = {
|
||||
{ .compatible = "spi-gpio" },
|
||||
{}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue