mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 05:50:19 +00:00
hwmon: (g762) 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 <jg1.han@samsung.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
parent
86b89d73f9
commit
adaa50b0dd
@ -586,7 +586,7 @@ static int do_set_fan_startv(struct device *dev, unsigned long val)
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_OF
|
||||
static struct of_device_id g762_dt_match[] = {
|
||||
static const struct of_device_id g762_dt_match[] = {
|
||||
{ .compatible = "gmt,g762" },
|
||||
{ .compatible = "gmt,g763" },
|
||||
{ },
|
||||
|
Loading…
Reference in New Issue
Block a user