Re: [PATCH v4 09/31] powerpc/fsl-pci: improve clock API use

From
Anatolij Gustschin <agust@denx.de>
Date
2013-08-08 20:12:35
Reply to
Gerhard Sittig, 2013-08-06
On Tue,  6 Aug 2013 22:43:49 +0200
Gerhard Sittig [off-list ref] wrote:
...
quoted hunk ↗ jump to hunk
diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c
index 46ac1dd..549ff08 100644
--- a/arch/powerpc/sysdev/fsl_pci.c
+++ b/arch/powerpc/sysdev/fsl_pci.c
...
quoted hunk ↗ jump to hunk
+	clk = devm_clk_get(&pdev->dev, "per");
+	if (!IS_ERR(clk)) {
+		ret = clk_prepare_enable(clk);
+		if (ret) {
+			dev_err(dev, "Could not enable peripheral clock\n");
above line will break building. s/dev,/&pdev->dev,/

Thanks,
Anatolij
Thread (138 messages) 138 messages, 11 authors, last reply 2013-08-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help