diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-03-13 10:10:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-03-13 10:10:30 -0700 |
commit | aa7d6513d68bad539142f9d6c3e2faa629bc27d8 (patch) | |
tree | c15ef8a1d3e69e78f87e258f0cb9216a9da55bf8 /drivers/firmware/google/memconsole-coreboot.c | |
parent | 61387b8dcf1dc0f30cf690956a48768a3fce1810 (diff) | |
parent | 8a0a62941a042612f7487f6c4ff291f9054ff214 (diff) | |
download | linux-aa7d6513d68bad539142f9d6c3e2faa629bc27d8.tar.gz linux-aa7d6513d68bad539142f9d6c3e2faa629bc27d8.tar.bz2 linux-aa7d6513d68bad539142f9d6c3e2faa629bc27d8.zip |
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 'drivers/firmware/google/memconsole-coreboot.c')
-rw-r--r-- | drivers/firmware/google/memconsole-coreboot.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/firmware/google/memconsole-coreboot.c b/drivers/firmware/google/memconsole-coreboot.c index 74b5286518ee..24c97a70aa80 100644 --- a/drivers/firmware/google/memconsole-coreboot.c +++ b/drivers/firmware/google/memconsole-coreboot.c @@ -96,13 +96,19 @@ static void memconsole_remove(struct coreboot_device *dev) memconsole_exit(); } +static const struct coreboot_device_id memconsole_ids[] = { + { .tag = CB_TAG_CBMEM_CONSOLE }, + { /* sentinel */ } +}; +MODULE_DEVICE_TABLE(coreboot, memconsole_ids); + static struct coreboot_driver memconsole_driver = { .probe = memconsole_probe, .remove = memconsole_remove, .drv = { .name = "memconsole", }, - .tag = CB_TAG_CBMEM_CONSOLE, + .id_table = memconsole_ids, }; module_coreboot_driver(memconsole_driver); |