linux-mips
[Top] [All Lists]

Re: [RESEND PATCH V2 06/17] MIPS: lantiq: convert dma to platform driver

To: John Crispin <blogic@openwrt.org>
Subject: Re: [RESEND PATCH V2 06/17] MIPS: lantiq: convert dma to platform driver
From: Sergei Shtylyov <sshtylyov@mvista.com>
Date: Tue, 15 May 2012 15:03:10 +0400
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
In-reply-to: <1337017363-14424-6-git-send-email-blogic@openwrt.org>
References: <1337017363-14424-1-git-send-email-blogic@openwrt.org> <1337017363-14424-6-git-send-email-blogic@openwrt.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
Hello.

On 14-05-2012 21:42, John Crispin wrote:

Add code to make the dma driver load as a platform device from the devicetree.

Signed-off-by: John Crispin<blogic@openwrt.org>
---
  arch/mips/lantiq/xway/dma.c |   65 ++++++++++++++++++++++++++++--------------
  1 files changed, 43 insertions(+), 22 deletions(-)

diff --git a/arch/mips/lantiq/xway/dma.c b/arch/mips/lantiq/xway/dma.c
index b210e93..0dffb94 100644
--- a/arch/mips/lantiq/xway/dma.c
+++ b/arch/mips/lantiq/xway/dma.c
[...]
+int __init
+dma_init(void)
+{
+       int ret = platform_driver_register(&dma_driver);
+
+       if (ret)
+               pr_info("ltq_dma : Error registering platfom driver!");

   You forgot '\n'.

WBR, Sergei

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