linux-mips
[Top] [All Lists]

[PATCH 7/9] SERIAL: MIPS: lantiq: convert serial driver to clkdev api

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH 7/9] SERIAL: MIPS: lantiq: convert serial driver to clkdev api
From: John Crispin <blogic@openwrt.org>
Date: Fri, 17 Feb 2012 11:33:18 +0100
Cc: linux-mips@linux-mips.org, John Crispin <blogic@openwrt.org>, linux-serial@vger.kernel.org
In-reply-to: <1329474800-20979-1-git-send-email-blogic@openwrt.org>
References: <1329474800-20979-1-git-send-email-blogic@openwrt.org>
Sender: linux-mips-bounce@linux-mips.org
Update from old pmu_{dis,en}able() to ckldev api.

Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-serial@vger.kernel.org
---
This patch should go via MIPS with the rest of the series.

 drivers/tty/serial/lantiq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c
index 96c1cac..136dae8 100644
--- a/drivers/tty/serial/lantiq.c
+++ b/drivers/tty/serial/lantiq.c
@@ -686,7 +686,7 @@ lqasc_probe(struct platform_device *pdev)
        if (lqasc_port[pdev->id] != NULL)
                return -EBUSY;
 
-       clk = clk_get(&pdev->dev, "fpi");
+       clk = clk_get_sys("fpi", NULL);
        if (IS_ERR(clk)) {
                pr_err("failed to get fpi clk\n");
                return -ENOENT;
-- 
1.7.7.1


<Prev in Thread] Current Thread [Next in Thread>