Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
aaf4f13c
Commit
aaf4f13c
authored
Sep 05, 2017
by
Jiri Kosina
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-4.14/constify-attribute_group' into for-linus
- struct attribute_group constification from Arvind Yadav
parents
b11918bd
1d710da2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
drivers/hid/hid-logitech-hidpp.c
drivers/hid/hid-logitech-hidpp.c
+1
-1
drivers/hid/hid-multitouch.c
drivers/hid/hid-multitouch.c
+1
-1
drivers/hid/hid-ntrig.c
drivers/hid/hid-ntrig.c
+1
-1
drivers/hid/hid-sensor-custom.c
drivers/hid/hid-sensor-custom.c
+1
-1
No files found.
drivers/hid/hid-logitech-hidpp.c
View file @
aaf4f13c
...
@@ -2926,7 +2926,7 @@ static struct attribute *sysfs_attrs[] = {
...
@@ -2926,7 +2926,7 @@ static struct attribute *sysfs_attrs[] = {
NULL
NULL
};
};
static
struct
attribute_group
ps_attribute_group
=
{
static
const
struct
attribute_group
ps_attribute_group
=
{
.
attrs
=
sysfs_attrs
.
attrs
=
sysfs_attrs
};
};
...
...
drivers/hid/hid-multitouch.c
View file @
aaf4f13c
...
@@ -341,7 +341,7 @@ static struct attribute *sysfs_attrs[] = {
...
@@ -341,7 +341,7 @@ static struct attribute *sysfs_attrs[] = {
NULL
NULL
};
};
static
struct
attribute_group
mt_attribute_group
=
{
static
const
struct
attribute_group
mt_attribute_group
=
{
.
attrs
=
sysfs_attrs
.
attrs
=
sysfs_attrs
};
};
...
...
drivers/hid/hid-ntrig.c
View file @
aaf4f13c
...
@@ -445,7 +445,7 @@ static struct attribute *sysfs_attrs[] = {
...
@@ -445,7 +445,7 @@ static struct attribute *sysfs_attrs[] = {
NULL
NULL
};
};
static
struct
attribute_group
ntrig_attribute_group
=
{
static
const
struct
attribute_group
ntrig_attribute_group
=
{
.
attrs
=
sysfs_attrs
.
attrs
=
sysfs_attrs
};
};
...
...
drivers/hid/hid-sensor-custom.c
View file @
aaf4f13c
...
@@ -276,7 +276,7 @@ static struct attribute *enable_sensor_attrs[] = {
...
@@ -276,7 +276,7 @@ static struct attribute *enable_sensor_attrs[] = {
NULL
,
NULL
,
};
};
static
struct
attribute_group
enable_sensor_attr_group
=
{
static
const
struct
attribute_group
enable_sensor_attr_group
=
{
.
attrs
=
enable_sensor_attrs
,
.
attrs
=
enable_sensor_attrs
,
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment