misc/pvpanic: Export module FDT device table
PATCH v2 1/1 misc/pvpanic: Export module FDT device table
Export the module FDT device table to ensure the FDT compatible strings are listed in the module alias. This help the pvpanic driver can be loaded on boot automatically not only the ACPI device, but also the FDT device.
Fixes 46f934c9a12fc ("misc/pvpanic: add support to get pvpanic device info FDT")
Signed-off-by Shile Zhang <[email protected]>
---
-v2: add the original commit id in changelog
-v1: https://lore.kernel.org/lkml/[email protected]/
drivers/misc/pvpanic.c | 1 + 1 file changed, 1 insertion(+)
drivers/misc/pvpanic.c +1 -0
@@ -92,6 +92,7 @@ static const struct of_device_id pvpanic_mmio_match[] = { { .compatible = "qemu,pvpanic-mmio", }, {} }; +MODULE_DEVICE_TABLE (of, pvpanic_mmio_match);static const struct acpi_device_id pvpanic_device_ids[] = { {"QEMU0001" ,0 },
Signature · 1 line
2.24.0.rc2