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
Kirill Smelkov
linux
Commits
82a18fc3
Commit
82a18fc3
authored
Jan 08, 2024
by
Jiri Kosina
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-6.8/hid-bus-type-const' into for-linus
- bus_type constification (Greg Kroah-Hartman)
parents
39e7facb
9b0a3839
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
drivers/hid/hid-core.c
drivers/hid/hid-core.c
+1
-1
drivers/hid/intel-ish-hid/ishtp/bus.c
drivers/hid/intel-ish-hid/ishtp/bus.c
+1
-1
include/linux/hid.h
include/linux/hid.h
+1
-1
include/linux/hid_bpf.h
include/linux/hid_bpf.h
+1
-1
No files found.
drivers/hid/hid-core.c
View file @
82a18fc3
...
...
@@ -2749,7 +2749,7 @@ static int hid_uevent(const struct device *dev, struct kobj_uevent_env *env)
return
0
;
}
struct
bus_type
hid_bus_type
=
{
const
struct
bus_type
hid_bus_type
=
{
.
name
=
"hid"
,
.
dev_groups
=
hid_dev_groups
,
.
drv_groups
=
hid_drv_groups
,
...
...
drivers/hid/intel-ish-hid/ishtp/bus.c
View file @
82a18fc3
...
...
@@ -378,7 +378,7 @@ static const struct dev_pm_ops ishtp_cl_bus_dev_pm_ops = {
.
restore
=
ishtp_cl_device_resume
,
};
static
struct
bus_type
ishtp_cl_bus_type
=
{
static
const
struct
bus_type
ishtp_cl_bus_type
=
{
.
name
=
"ishtp"
,
.
dev_groups
=
ishtp_cl_dev_groups
,
.
probe
=
ishtp_cl_device_probe
,
...
...
include/linux/hid.h
View file @
82a18fc3
...
...
@@ -912,7 +912,7 @@ extern bool hid_ignore(struct hid_device *);
extern
int
hid_add_device
(
struct
hid_device
*
);
extern
void
hid_destroy_device
(
struct
hid_device
*
);
extern
struct
bus_type
hid_bus_type
;
extern
const
struct
bus_type
hid_bus_type
;
extern
int
__must_check
__hid_register_driver
(
struct
hid_driver
*
,
struct
module
*
,
const
char
*
mod_name
);
...
...
include/linux/hid_bpf.h
View file @
82a18fc3
...
...
@@ -115,7 +115,7 @@ struct hid_bpf_ops {
size_t
len
,
enum
hid_report_type
rtype
,
enum
hid_class_request
reqtype
);
struct
module
*
owner
;
struct
bus_type
*
bus_type
;
const
struct
bus_type
*
bus_type
;
};
extern
struct
hid_bpf_ops
*
hid_bpf_ops
;
...
...
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