diff options
Diffstat (limited to 'arch/avr32/boards/merisc/setup.c')
-rw-r--r-- | arch/avr32/boards/merisc/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/boards/merisc/setup.c b/arch/avr32/boards/merisc/setup.c index 623b077594fc..e61bc948f959 100644 --- a/arch/avr32/boards/merisc/setup.c +++ b/arch/avr32/boards/merisc/setup.c | |||
@@ -134,7 +134,7 @@ static void __init set_hw_addr(struct platform_device *pdev) | |||
134 | 134 | ||
135 | regs = (void __iomem __force *)res->start; | 135 | regs = (void __iomem __force *)res->start; |
136 | pclk = clk_get(&pdev->dev, "pclk"); | 136 | pclk = clk_get(&pdev->dev, "pclk"); |
137 | if (!pclk) | 137 | if (IS_ERR(pclk)) |
138 | return; | 138 | return; |
139 | 139 | ||
140 | clk_enable(pclk); | 140 | clk_enable(pclk); |