summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/gsc_hwmon.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data/gsc_hwmon.h')
-rw-r--r--include/linux/platform_data/gsc_hwmon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/platform_data/gsc_hwmon.h b/include/linux/platform_data/gsc_hwmon.h
index f2781aa7eff8..70e8a6bec0f6 100644
--- a/include/linux/platform_data/gsc_hwmon.h
+++ b/include/linux/platform_data/gsc_hwmon.h
@@ -40,6 +40,6 @@ struct gsc_hwmon_platform_data {
unsigned int resolution;
unsigned int vreference;
unsigned int fan_base;
- struct gsc_hwmon_channel channels[];
+ struct gsc_hwmon_channel channels[] __counted_by(nchannels);
};
#endif