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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

On 02/17/2012 01:33 PM, John Crispin wrote:

Update from old pmu_{dis,en}able() to ckldev api.

   The comment doesn't match the essence of patch.

Signed-off-by: John Crispin<blogic@xxxxxxxxxxx>
Cc: linux-serial@xxxxxxxxxxxxxxx
---
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);

   Why not just clk_get(&pdev->dev, NULL)?

WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux