hwmon: (pwm-fan, vexpress) Constify of_device_id array
[firefly-linux-kernel-4.4.55.git] / drivers / hwmon / vexpress.c
index cf1848b8fb321a0e4f867352730956543088feb0..8ba419d343f86770b537e74fffb933b25a08b082 100644 (file)
@@ -193,7 +193,7 @@ static struct vexpress_hwmon_type vexpress_hwmon_energy = {
        },
 };
 
-static struct of_device_id vexpress_hwmon_of_match[] = {
+static const struct of_device_id vexpress_hwmon_of_match[] = {
 #if !defined(CONFIG_REGULATOR_VEXPRESS)
        {
                .compatible = "arm,vexpress-volt",