diff options
author | Stafford Horne <shorne@gmail.com> | 2021-01-25 05:08:34 +0300 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2021-01-25 05:16:06 +0300 |
commit | 2261352157a932717ec08b9dd18d1bfbb7c37c52 (patch) | |
tree | b48a3ea4060a7d078aecb97de07597a8eb24467a /drivers/soc | |
parent | 3706f9f76a4f79f8e7b2eb8b99877e89fe9ad732 (diff) | |
parent | 031c7a8cd6fc565e90320bf08f22ee6e70f9d969 (diff) | |
download | linux-2261352157a932717ec08b9dd18d1bfbb7c37c52.tar.xz |
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')
-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) { |