summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-sensor-custom.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2017-09-05 11:08:13 +0200
committerJiri Kosina <jkosina@suse.cz>2017-09-05 11:08:13 +0200
commitaaf4f13c456f5fb513d907ede137e8ba77d6adfb (patch)
tree70e421730e99263d7e83904f7112a47bbc2667a3 /drivers/hid/hid-sensor-custom.c
parentb11918bdbe79bd002d00a9f1d78958167ccfad99 (diff)
parent1d710da2ee7b4c3d89efa16807ad0d9856107a17 (diff)
Merge branch 'for-4.14/constify-attribute_group' into for-linus
- struct attribute_group constification from Arvind Yadav
Diffstat (limited to 'drivers/hid/hid-sensor-custom.c')
-rw-r--r--drivers/hid/hid-sensor-custom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-sensor-custom.c b/drivers/hid/hid-sensor-custom.c
index 3a84aaf1418b..fb86f86b9d92 100644
--- a/drivers/hid/hid-sensor-custom.c
+++ b/drivers/hid/hid-sensor-custom.c
@@ -276,7 +276,7 @@ static struct attribute *enable_sensor_attrs[] = {
NULL,
};
-static struct attribute_group enable_sensor_attr_group = {
+static const struct attribute_group enable_sensor_attr_group = {
.attrs = enable_sensor_attrs,
};