diff options
author | Stafford Horne <shorne@gmail.com> | 2021-01-25 03:08:34 +0100 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2021-01-25 03:16:06 +0100 |
commit | 2261352157a932717ec08b9dd18d1bfbb7c37c52 (patch) | |
tree | b48a3ea4060a7d078aecb97de07597a8eb24467a /drivers/soc/litex | |
parent | drivers/soc/litex: Add restart handler (diff) | |
parent | openrisc: io: Add missing __iomem annotation to iounmap() (diff) | |
download | linux-2261352157a932717ec08b9dd18d1bfbb7c37c52.tar.xz linux-2261352157a932717ec08b9dd18d1bfbb7c37c52.zip |
Merge remote-tracking branch 'openrisc/or1k-5.11-fixes' into or1k-5.12-updates
Pickup fixes that went upstream already in order to resolve conflicts in
litex_soc_ctrl.c between 5.11 fixes that went upstream and the
or1k-5.12-updates linux-next queue.
Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'drivers/soc/litex')
-rw-r--r-- | drivers/soc/litex/litex_soc_ctrl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/soc/litex/litex_soc_ctrl.c b/drivers/soc/litex/litex_soc_ctrl.c index a7dd5be9fd5b..6268bfa7f0d6 100644 --- a/drivers/soc/litex/litex_soc_ctrl.c +++ b/drivers/soc/litex/litex_soc_ctrl.c @@ -84,12 +84,13 @@ static int litex_reset_handler(struct notifier_block *this, unsigned long mode, return NOTIFY_DONE; } +#ifdef CONFIG_OF static const struct of_device_id litex_soc_ctrl_of_match[] = { {.compatible = "litex,soc-controller"}, {}, }; - MODULE_DEVICE_TABLE(of, litex_soc_ctrl_of_match); +#endif /* CONFIG_OF */ static int litex_soc_ctrl_probe(struct platform_device *pdev) { |