summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-03-13 20:10:30 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2024-03-13 20:10:30 +0300
commitaa7d6513d68bad539142f9d6c3e2faa629bc27d8 (patch)
treec15ef8a1d3e69e78f87e258f0cb9216a9da55bf8 /include/linux
parent61387b8dcf1dc0f30cf690956a48768a3fce1810 (diff)
parent8a0a62941a042612f7487f6c4ff291f9054ff214 (diff)
downloadlinux-aa7d6513d68bad539142f9d6c3e2faa629bc27d8.tar.xz
Merge tag 'tag-chrome-platform-firmware-for-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux
Pull chrome platform firmware updates from Tzung-Bi Shih: - Allow userspace to automatically load coreboot modules by adding modaliases and sending uevents - Make bus_type const * tag 'tag-chrome-platform-firmware-for-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux: firmware: coreboot: Replace tag with id table in driver struct firmware: coreboot: Generate aliases for coreboot modules firmware: coreboot: Generate modalias uevent for devices firmware: coreboot: make coreboot_bus_type const
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mod_devicetable.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index f458469c5ce5..7a9a07ea451b 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -960,4 +960,14 @@ struct vchiq_device_id {
char name[32];
};
+/**
+ * struct coreboot_device_id - Identifies a coreboot table entry
+ * @tag: tag ID
+ * @driver_data: driver specific data
+ */
+struct coreboot_device_id {
+ __u32 tag;
+ kernel_ulong_t driver_data;
+};
+
#endif /* LINUX_MOD_DEVICETABLE_H */