projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70c26fc
)
misc/pvpanic: Export module FDT device table
author
Shile Zhang
<shile.zhang@linux.alibaba.com>
Thu, 18 Feb 2021 12:31:16 +0000
(20:31 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 17 Mar 2021 16:06:31 +0000
(17:06 +0100)
commit
65527a51c66f4edfa28602643d7dd4fa366eb826
upstream.
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 <shile.zhang@linux.alibaba.com>
Link:
https://lore.kernel.org/r/20210218123116.207751-1-shile.zhang@linux.alibaba.com
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/pvpanic.c
patch
|
blob
|
history
diff --git
a/drivers/misc/pvpanic.c
b/drivers/misc/pvpanic.c
index
e16a5e5
..
d9140e7
100644
(file)
--- a/
drivers/misc/pvpanic.c
+++ b/
drivers/misc/pvpanic.c
@@
-166,6
+166,7
@@
static const struct of_device_id pvpanic_mmio_match[] = {
{ .compatible = "qemu,pvpanic-mmio", },
{}
};
+MODULE_DEVICE_TABLE(of, pvpanic_mmio_match);
static struct platform_driver pvpanic_mmio_driver = {
.driver = {