diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-05-11 19:54:49 +0200 |
---|---|---|
committer | Xu Yilun <yilun.xu@intel.com> | 2023-05-29 18:01:14 +0800 |
commit | 148efa63bab383993a06770c2c05cfb9ed29a193 (patch) | |
tree | bf2d46461d6dee3ec24689d1e7e8c1c94dbeab3c /drivers/fpga/zynq-fpga.c | |
parent | 44c026a73be8038f03dbdeef028b642880cf1511 (diff) | |
download | lwn-148efa63bab383993a06770c2c05cfb9ed29a193.tar.gz lwn-148efa63bab383993a06770c2c05cfb9ed29a193.zip |
fpga: dfl-fme: constify pointers to hwmon_channel_info
Statically allocated array of pointers to hwmon_channel_info can be made
const for safety.
Reviewed-by: Russ Weight <russell.h.weight@intel.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20230511175449.282069-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Xu Yilun <yilun.xu@intel.com>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions