driver core: make the bus_type in struct device_driver constant
[platform/kernel/linux-starfive.git] / include / linux / device / driver.h
index ceb0e47..0f22a6f 100644 (file)
@@ -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 */