projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
driver core: make the bus_type in struct device_driver constant
[platform/kernel/linux-starfive.git]
/
include
/
linux
/
device
/
driver.h
diff --git
a/include/linux/device/driver.h
b/include/linux/device/driver.h
index
ceb0e47
..
0f22a6f
100644
(file)
--- a/
include/linux/device/driver.h
+++ b/
include/linux/device/driver.h
@@
-95,7
+95,7
@@
enum probe_type {
*/
struct device_driver {
const char *name;
-
struct bus_type
*bus;
+
const struct bus_type
*bus;
struct module *owner;
const char *mod_name; /* used for built-in modules */