We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3c5df1 commit c2b28f6Copy full SHA for c2b28f6
drivers/firmware/google/coreboot_table.c
@@ -53,11 +53,20 @@ static void coreboot_bus_remove(struct device *dev)
53
driver->remove(device);
54
}
55
56
+static int coreboot_bus_uevent(const struct device *dev, struct kobj_uevent_env *env)
57
+{
58
+ struct coreboot_device *device = CB_DEV(dev);
59
+ u32 tag = device->entry.tag;
60
+
61
+ return add_uevent_var(env, "MODALIAS=coreboot:t%08X", tag);
62
+}
63
64
static const struct bus_type coreboot_bus_type = {
65
.name = "coreboot",
66
.match = coreboot_bus_match,
67
.probe = coreboot_bus_probe,
68
.remove = coreboot_bus_remove,
69
+ .uevent = coreboot_bus_uevent,
70
};
71
72
static void coreboot_device_release(struct device *dev)
0 commit comments