[RFC PATCH hwmon] hwmon: max6650_pwm_modes[] can be static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixes: 77d270a1d4db ("hwmon: (max6650) Convert to use devm_hwmon_device_register_with_info")
Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
---
 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,



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux