aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/atmel-ssc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/atmel-ssc.c')
-rw-r--r--drivers/misc/atmel-ssc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/atmel-ssc.c b/drivers/misc/atmel-ssc.c
index a769719e36bf..d07a9eda7fff 100644
--- a/drivers/misc/atmel-ssc.c
+++ b/drivers/misc/atmel-ssc.c
@@ -157,6 +157,8 @@ static int ssc_probe(struct platform_device *pdev)
157 return -EINVAL; 157 return -EINVAL;
158 } 158 }
159 159
160 ssc->phybase = regs->start;
161
160 ssc->clk = devm_clk_get(&pdev->dev, "pclk"); 162 ssc->clk = devm_clk_get(&pdev->dev, "pclk");
161 if (IS_ERR(ssc->clk)) { 163 if (IS_ERR(ssc->clk)) {
162 dev_dbg(&pdev->dev, "no pclk clock defined\n"); 164 dev_dbg(&pdev->dev, "no pclk clock defined\n");