aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Jakub Kicinski <kuba@kernel.org> 2023-04-09 18:59:13 -0700
committerGravatar Jakub Kicinski <kuba@kernel.org> 2023-04-09 18:59:13 -0700
commitc9f28c570068f7d4cd0b32cec55566954d3e32bb (patch)
tree197a20ec4b82067237b95c33ce52e05eae041442 /include
parentnet: dsa: replace NETDEV_PRE_CHANGE_HWTSTAMP notifier with a stub (diff)
parenthwmon: constify pointers to hwmon_channel_info (diff)
downloadlinux-c9f28c570068f7d4cd0b32cec55566954d3e32bb.tar.gz
linux-c9f28c570068f7d4cd0b32cec55566954d3e32bb.tar.bz2
linux-c9f28c570068f7d4cd0b32cec55566954d3e32bb.zip
Merge branch 'hwmon-const' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
Pull in pre-requisite patches from Guenter Roeck to constify pointers to hwmon_channel_info. * 'hwmon-const' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: hwmon: constify pointers to hwmon_channel_info Link: https://lore.kernel.org/all/3a0391e7-21f6-432a-9872-329e298e1582@roeck-us.net/ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/hwmon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/hwmon.h b/include/linux/hwmon.h
index c1b62384b6ee..492dd27a5dd8 100644
--- a/include/linux/hwmon.h
+++ b/include/linux/hwmon.h
@@ -430,7 +430,7 @@ struct hwmon_channel_info {
*/
struct hwmon_chip_info {
const struct hwmon_ops *ops;
- const struct hwmon_channel_info **info;
+ const struct hwmon_channel_info * const *info;
};
/* hwmon_device_register() is deprecated */