summaryrefslogtreecommitdiff
path: root/ina260.c
diff options
context:
space:
mode:
Diffstat (limited to 'ina260.c')
-rwxr-xr-xina260.c4
1 files changed, 4 insertions, 0 deletions
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, \