fpga: dfl: make dfl_bus_type const
[linux-block.git] / drivers / fpga / dfl.c
index e6d12fbab653fb9a5fb622497e284ddd553223b3..094ee97ea26cb18db87490c8205f4cb095426f57 100644 (file)
@@ -327,7 +327,7 @@ static struct attribute *dfl_dev_attrs[] = {
 };
 ATTRIBUTE_GROUPS(dfl_dev);
 
-static struct bus_type dfl_bus_type = {
+static const struct bus_type dfl_bus_type = {
        .name           = "dfl",
        .match          = dfl_bus_match,
        .probe          = dfl_bus_probe,