diff options
author | Bartosz Golaszewski | 2018-03-30 17:28:51 +0200 |
---|---|---|
committer | Stephen Boyd | 2018-04-06 13:37:19 -0700 |
commit | 5ced1923128470bda20d454cc6b07a8aa2f2e64d (patch) | |
tree | f6ea32eb65316c71d16d5bd3d7ecd74f8065d6b8 /drivers/clk/davinci/psc.c | |
parent | ac8e5cc73736fe1ec6c7f3674ee71f7c99c42ae0 (diff) |
clk: davinci: add a reset lookup table for psc0
In order to be able to use the reset framework in legacy boot mode as
well, add the reset lookup table to the psc driver for da850 variant.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: David Lechner <david@lechnology.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/davinci/psc.c')
-rw-r--r-- | drivers/clk/davinci/psc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/davinci/psc.c b/drivers/clk/davinci/psc.c index ff6f4a038e04..ce170e600f09 100644 --- a/drivers/clk/davinci/psc.c +++ b/drivers/clk/davinci/psc.c @@ -425,6 +425,7 @@ __davinci_psc_register_clocks(struct device *dev, psc->rcdev.ops = &davinci_psc_reset_ops; psc->rcdev.owner = THIS_MODULE; + psc->rcdev.dev = dev; psc->rcdev.of_node = dev->of_node; psc->rcdev.of_reset_n_cells = 1; psc->rcdev.of_xlate = davinci_psc_reset_of_xlate; |