Fixes: 77d270a1d4db ("hwmon: (max6650) Convert to use
devm_hwmon_device_register_with_info")
Signed-off-by: kbuild test robot <[email protected]>
---
max6650.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hwmon/max6650.c b/drivers/hwmon/max6650.c
index 3011841..6364bc9 100644
--- a/drivers/hwmon/max6650.c
+++ b/drivers/hwmon/max6650.c
@@ -599,7 +599,7 @@ static int max6650_read(struct device *dev, enum
hwmon_sensor_types type,
return 0;
}
-const u8 max6650_pwm_modes[] = {
+static const u8 max6650_pwm_modes[] = {
MAX6650_CFG_MODE_ON,
MAX6650_CFG_MODE_OPEN_LOOP,
MAX6650_CFG_MODE_CLOSED_LOOP,