summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/serial_base_bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial/serial_base_bus.c')
-rw-r--r--drivers/tty/serial/serial_base_bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/serial_base_bus.c b/drivers/tty/serial/serial_base_bus.c
index 3dfcf20c4e..4df2a4b104 100644
--- a/drivers/tty/serial/serial_base_bus.c
+++ b/drivers/tty/serial/serial_base_bus.c
@@ -41,7 +41,7 @@ static int serial_base_match(struct device *dev, struct device_driver *drv)
return 0;
}
-static struct bus_type serial_base_bus_type = {
+static const struct bus_type serial_base_bus_type = {
.name = "serial-base",
.match = serial_base_match,
};