diff options
Diffstat (limited to 'arch/avr32/boards/atngw100/setup.c')
-rw-r--r-- | arch/avr32/boards/atngw100/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/boards/atngw100/setup.c b/arch/avr32/boards/atngw100/setup.c index 8c6a2440e345..659d119ce712 100644 --- a/arch/avr32/boards/atngw100/setup.c +++ b/arch/avr32/boards/atngw100/setup.c | |||
@@ -188,7 +188,7 @@ static void __init set_hw_addr(struct platform_device *pdev) | |||
188 | */ | 188 | */ |
189 | regs = (void __iomem __force *)res->start; | 189 | regs = (void __iomem __force *)res->start; |
190 | pclk = clk_get(&pdev->dev, "pclk"); | 190 | pclk = clk_get(&pdev->dev, "pclk"); |
191 | if (!pclk) | 191 | if (IS_ERR(pclk)) |
192 | return; | 192 | return; |
193 | 193 | ||
194 | clk_enable(pclk); | 194 | clk_enable(pclk); |