Messages in this thread Patch in this message | | | Date | Fri, 16 Apr 2021 21:50:22 +0800 | From | kernel test robot <> | Subject | [RFC PATCH linux-next] hwmon: fsp3y_info[] can be static |
| |
Fixes: fdf70b5de6f3 ("hwmon: Add driver for fsp-3y PSUs and PDUs") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: kernel test robot <lkp@intel.com> --- fsp-3y.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hwmon/pmbus/fsp-3y.c b/drivers/hwmon/pmbus/fsp-3y.c index 3ff4bace9a85f..284b73aaed467 100644 --- a/drivers/hwmon/pmbus/fsp-3y.c +++ b/drivers/hwmon/pmbus/fsp-3y.c @@ -147,7 +147,7 @@ static int fsp3y_read_word_data(struct i2c_client *client, int page, int phase, return i2c_smbus_read_word_data(client, reg); } -struct pmbus_driver_info fsp3y_info[] = { +static struct pmbus_driver_info fsp3y_info[] = { [ym2151e] = { .pages = 2, .func[YM2151_PAGE_12V_LOG] =
| |