From c9e0ccf07c715d71b9b8c845d6e7e033678c5557 Mon Sep 17 00:00:00 2001 From: blogic Date: Sun, 27 May 2012 16:12:59 +0000 Subject: [lantiq] 3.2 R.I.P. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31911 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...-lantiq-convert-serial-driver-to-clkdev-a.patch | 36 ---------------------- 1 file changed, 36 deletions(-) delete mode 100644 target/linux/lantiq/patches-3.2/0030-SERIAL-MIPS-lantiq-convert-serial-driver-to-clkdev-a.patch (limited to 'target/linux/lantiq/patches-3.2/0030-SERIAL-MIPS-lantiq-convert-serial-driver-to-clkdev-a.patch') diff --git a/target/linux/lantiq/patches-3.2/0030-SERIAL-MIPS-lantiq-convert-serial-driver-to-clkdev-a.patch b/target/linux/lantiq/patches-3.2/0030-SERIAL-MIPS-lantiq-convert-serial-driver-to-clkdev-a.patch deleted file mode 100644 index ccaf3b281..000000000 --- a/target/linux/lantiq/patches-3.2/0030-SERIAL-MIPS-lantiq-convert-serial-driver-to-clkdev-a.patch +++ /dev/null @@ -1,36 +0,0 @@ -From da5f76f9eb0563597855f6b89894443d30a62d4f Mon Sep 17 00:00:00 2001 -From: John Crispin -Date: Thu, 16 Feb 2012 20:17:16 +0100 -Subject: [PATCH 30/73] SERIAL: MIPS: lantiq: convert serial driver to clkdev - api - -Reference the FPI clock via its new access function. - -Signed-off-by: John Crispin -Cc: linux-serial@vger.kernel.org ---- - drivers/tty/serial/lantiq.c | 6 +++++- - 1 files changed, 5 insertions(+), 1 deletions(-) - ---- a/drivers/tty/serial/lantiq.c -+++ b/drivers/tty/serial/lantiq.c -@@ -540,6 +540,10 @@ lqasc_request_port(struct uart_port *por - if (ltq_gpio_request(&pdev->dev, MUXC_SIF_TX_PIN, - 3, 1, "asc1-tx")) - return -EBUSY; -+ ltq_port->clk = clk_get(&pdev->dev, NULL); -+ if (IS_ERR(ltq_port->clk)) -+ return PTR_ERR(ltq_port->clk); -+ clk_enable(ltq_port->clk); - } - return 0; - } -@@ -698,7 +702,7 @@ lqasc_probe(struct platform_device *pdev - if (lqasc_port[pdev->id] != NULL) - return -EBUSY; - -- clk = clk_get(&pdev->dev, "fpi"); -+ clk = clk_get_fpi(); - if (IS_ERR(clk)) { - pr_err("failed to get fpi clk\n"); - return -ENOENT; -- cgit v1.2.3