From: Jamie Iles <jamie@jamieiles.com>
To: jonghwa3.lee@samsung.com
Cc: Jamie Iles <jamie@jamieiles.com>,
linux-kernel@vger.kernel.org, Matt Mackall <mpm@selenic.com>,
Herbert Xu <herbert@gondor.hengli.com.au>,
Nicolas Ferre <nicolas.ferre@atmel.com>,
Julia Lawall <Julia.Lawall@lip6.fr>,
Stephen Boyd <sboyd@codeaurora.org>,
Kyungmin Park <kyungmin.park@samsung.com>
Subject: Re: [PATCH v2] Exynos : Add support for Exynos random number generator
Date: Wed, 27 Jun 2012 12:29:40 +0100 [thread overview]
Message-ID: <20120627112940.GF4132@page> (raw)
In-Reply-To: <4FEAECCE.3050006@samsung.com>
On Wed, Jun 27, 2012 at 08:21:50PM +0900, jonghwa3.lee@samsung.com wrote:
> On 2012년 06월 27일 20:07, Jamie Iles wrote:
> > On Wed, Jun 27, 2012 at 07:31:01PM +0900, Jonghwa Lee wrote:
> >> diff --git a/drivers/char/hw_random/Kconfig
> >> b/drivers/char/hw_random/Kconfig
> >> index f45dad3..a9e3806 100644
> >> --- a/drivers/char/hw_random/Kconfig
> >> +++ b/drivers/char/hw_random/Kconfig
> >> @@ -263,3 +263,15 @@ config HW_RANDOM_PSERIES
> >> module will be called pseries-rng.
> >>
> >> If unsure, say Y.
> >> +
> >> +config HW_RANDOM_EXYNOS
> >> + tristate "EXYNOS HW random number generator support"
> >> + depends on HW_RANDOM && ARCH_EXYNOS && HAS_IOMEM && PM_RUNTIME
> >
> > I don't think this needs an ARCH_EXYNOS dependency does it? I think you
> > do need a dependency on HAVE_CLK though then it can be built for other
> > platforms.
> >
> This random number generator driver is only for Exynos SOC. And why
> should I add HAVE_CLK dependency since there is no relation with?
Well if you remove the ARCH_EXYNOS dependency then you should get higher
build coverage which is a nice thing to have.
Anything using the clk API should have a dependency on HAVE_CLK as
clk_*() doesn't have stubs for platforms that don't implement the API.
Jamie
next prev parent reply other threads:[~2012-06-27 11:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-27 10:31 [PATCH v2] Exynos : Add support for Exynos random number generator Jonghwa Lee
2012-06-27 11:07 ` Jamie Iles
2012-06-27 11:21 ` jonghwa3.lee
2012-06-27 11:29 ` Jamie Iles [this message]
2012-06-27 17:27 ` Stephen Boyd
2012-06-27 17:52 ` Stephen Boyd
2012-06-28 0:20 ` jonghwa3.lee
2012-06-28 0:58 ` jonghwa3.lee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120627112940.GF4132@page \
--to=jamie@jamieiles.com \
--cc=Julia.Lawall@lip6.fr \
--cc=herbert@gondor.hengli.com.au \
--cc=jonghwa3.lee@samsung.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mpm@selenic.com \
--cc=nicolas.ferre@atmel.com \
--cc=sboyd@codeaurora.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox