summaryrefslogtreecommitdiff
path: root/drivers/input/rmi4/rmi_bus.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/rmi4/rmi_bus.h')
-rw-r--r--drivers/input/rmi4/rmi_bus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/rmi4/rmi_bus.h b/drivers/input/rmi4/rmi_bus.h
index 25df6320f9f1..ea46ad9447ec 100644
--- a/drivers/input/rmi4/rmi_bus.h
+++ b/drivers/input/rmi4/rmi_bus.h
@@ -185,7 +185,7 @@ static inline int rmi_write_block(struct rmi_device *d, u16 addr,
int rmi_for_each_dev(void *data, int (*func)(struct device *dev, void *data));
-extern struct bus_type rmi_bus_type;
+extern const struct bus_type rmi_bus_type;
int rmi_of_property_read_u32(struct device *dev, u32 *result,
const char *prop, bool optional);