Skip to content

Commit 65527a5

Browse files
shiloonggregkh
authored andcommitted
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: 46f934c ("misc/pvpanic: add support to get pvpanic device info FDT") Signed-off-by: Shile Zhang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 20c4079 commit 65527a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/misc/pvpanic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ static const struct of_device_id pvpanic_mmio_match[] = {
140140
{ .compatible = "qemu,pvpanic-mmio", },
141141
{}
142142
};
143+
MODULE_DEVICE_TABLE(of, pvpanic_mmio_match);
143144

144145
static const struct acpi_device_id pvpanic_device_ids[] = {
145146
{ "QEMU0001", 0 },

0 commit comments

Comments
 (0)