Skip to content

Commit 5882c16

Browse files
committed
Merge tag 'renesas-sh-drivers-fixes-for-v4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas
Pull SuperH driver fix from Simon Horman: "Restore legacy clock domain on SuperH platforms" * tag 'renesas-sh-drivers-fixes-for-v4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: drivers: sh: Restore legacy clock domain on SuperH platforms
2 parents 9aca90a + 0378ba4 commit 5882c16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/sh/pm_runtime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ static struct pm_clk_notifier_block platform_bus_notifier = {
3434

3535
static int __init sh_pm_runtime_init(void)
3636
{
37-
if (IS_ENABLED(CONFIG_ARCH_SHMOBILE)) {
37+
if (IS_ENABLED(CONFIG_OF) && IS_ENABLED(CONFIG_ARCH_SHMOBILE)) {
3838
if (!of_find_compatible_node(NULL, NULL,
3939
"renesas,cpg-mstp-clocks"))
4040
return 0;

0 commit comments

Comments
 (0)