[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1243791170.22069.28.camel@calx>
Date: Sun, 31 May 2009 12:32:50 -0500
From: Matt Mackall <mpm@...enic.com>
To: Atsushi Nemoto <anemo@....ocn.ne.jp>
Cc: linux-mips@...ux-mips.org, ralf@...ux-mips.org,
linux-kernel@...r.kernel.org, herbert@...dor.apana.org.au
Subject: Re: [PATCH] TXx9: Add TX4939 RNG support
On Mon, 2009-06-01 at 02:23 +0900, Atsushi Nemoto wrote:
> On Sun, 31 May 2009 12:01:29 -0500, Matt Mackall <mpm@...enic.com> wrote:
> > > > Not clear to me how this works when this is a module?
> > >
> > > This patch add a registration of a platform device for RNG to vmlinux.
> > > And the other patch add a driver module for the RNG. This strategy is
> > > fairly common for SoCs or embedded platforms.
> >
> > If your driver is built as a module (which your patch allows), the above
> > won't work, right?
>
> No, the rng driver can be used regardless of module or built-in, as
> like as other platform drivers. Any special issue for hw_rng?
I found the source of my confusion: you've given the init function in
both files exactly the same name. So when I saw .._init at the bottom of
the second patch, I assumed it was referring to the possibly not loaded
driver's init code.
--
http://selenic.com : development and support for Mercurial and Linux
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists