diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-02-24 09:43:23 +0100 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2016-02-25 09:05:19 +0900 |
commit | 0378ba4899d5fbd8494ed6580cbc81d7b44dbac6 (patch) | |
tree | b19d51fcdf3da2204486e1a3b886928742e21072 /net/vmw_vsock | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) | |
download | linux-0378ba4899d5fbd8494ed6580cbc81d7b44dbac6.tar.gz linux-0378ba4899d5fbd8494ed6580cbc81d7b44dbac6.tar.bz2 linux-0378ba4899d5fbd8494ed6580cbc81d7b44dbac6.zip |
drivers: sh: Restore legacy clock domain on SuperH platforms
CONFIG_ARCH_SHMOBILE is not only enabled for Renesas ARM platforms
(which are DT based and multi-platform), but also on a select set of
Renesas SuperH platforms (SH7722/SH7723/SH7724/SH7343/SH7366). Hence
since commit 0ba58de231066e47 ("drivers: sh: Get rid of
CONFIG_ARCH_SHMOBILE_MULTI"), the legacy clock domain is no longer
installed on these SuperH platforms, and module clocks may not be
enabled when needed, leading to driver failures.
To fix this, add an additional check for CONFIG_OF.
Fixes: 0ba58de231066e47 ("drivers: sh: Get rid of CONFIG_ARCH_SHMOBILE_MULTI").
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'net/vmw_vsock')
0 files changed, 0 insertions, 0 deletions