summaryrefslogtreecommitdiffstats
path: root/lib/kunit/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kunit/device.c')
-rw-r--r--lib/kunit/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kunit/device.c b/lib/kunit/device.c
index 3a31fe9ed6..25c81ed465 100644
--- a/lib/kunit/device.c
+++ b/lib/kunit/device.c
@@ -36,7 +36,7 @@ struct kunit_device {
#define to_kunit_device(d) container_of_const(d, struct kunit_device, dev)
-static struct bus_type kunit_bus_type = {
+static const struct bus_type kunit_bus_type = {
.name = "kunit",
};