From edee197198987b06a24eeb12b6dcd65333ebbf39 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Mon, 14 Aug 2023 12:24:03 +0200 Subject: Minor changes --- ina260.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ina260.c') diff --git a/ina260.c b/ina260.c index 220ebc3..bf97b7f 100755 --- a/ina260.c +++ b/ina260.c @@ -49,6 +49,10 @@ static ssize_t _attr##_store(struct device *dev, struct device_attribute *attr, return count; \ } +/** + * @brief This macro is not available on old kernel especially the one + * used by Beaglebones Single Board Computers + */ #define HWMON_CHANNEL_INFO(stype, ...) \ (&(struct hwmon_channel_info) { \ .type = hwmon_##stype, \ -- cgit v1.2.3