* [PATCH] mfd: kconfig exposing unbuildable driver
@ 2008-04-22 20:25 Harvey Harrison
2008-04-22 20:33 ` Russell King
0 siblings, 1 reply; 13+ messages in thread
From: Harvey Harrison @ 2008-04-22 20:25 UTC (permalink / raw)
To: Linus Torvalds; +Cc: LKML, Andrew Morton, Russell King, Randy Dunlap
Limit this driver to ARCH_PXA, noticed by breakage on allyesconfig
builds on 32-bit x86.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
Linus, please apply and Russell can fix it up however he likes later
in the week. Many people are hitting this.
drivers/mfd/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 2566479..bd29c61 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -32,6 +32,7 @@ config HTC_EGPIO
config HTC_PASIC3
tristate "HTC PASIC3 LED/DS1WM chip support"
+ depends on ARCH_PXA
help
This core driver provides register access for the LED/DS1WM
chips labeled "AIC2" and "AIC3", found on HTC Blueangel and
--
1.5.5.144.g3e42
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [PATCH] mfd: kconfig exposing unbuildable driver
2008-04-22 20:25 [PATCH] mfd: kconfig exposing unbuildable driver Harvey Harrison
@ 2008-04-22 20:33 ` Russell King
2008-04-22 20:38 ` Randy.Dunlap
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Russell King @ 2008-04-22 20:33 UTC (permalink / raw)
To: Harvey Harrison; +Cc: Linus Torvalds, LKML, Andrew Morton, Randy Dunlap
That was my initial approach as well, which got shot down by Andrew
Morton and others as being unacceptable.
On Tue, Apr 22, 2008 at 01:25:50PM -0700, Harvey Harrison wrote:
> Limit this driver to ARCH_PXA, noticed by breakage on allyesconfig
> builds on 32-bit x86.
>
> Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
> ---
> Linus, please apply and Russell can fix it up however he likes later
> in the week. Many people are hitting this.
>
> drivers/mfd/Kconfig | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index 2566479..bd29c61 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -32,6 +32,7 @@ config HTC_EGPIO
>
> config HTC_PASIC3
> tristate "HTC PASIC3 LED/DS1WM chip support"
> + depends on ARCH_PXA
> help
> This core driver provides register access for the LED/DS1WM
> chips labeled "AIC2" and "AIC3", found on HTC Blueangel and
> --
> 1.5.5.144.g3e42
>
>
>
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] mfd: kconfig exposing unbuildable driver
2008-04-22 20:33 ` Russell King
@ 2008-04-22 20:38 ` Randy.Dunlap
2008-04-22 20:45 ` Russell King
2008-04-22 21:05 ` Linus Torvalds
2008-04-23 20:02 ` pHilipp Zabel
2 siblings, 1 reply; 13+ messages in thread
From: Randy.Dunlap @ 2008-04-22 20:38 UTC (permalink / raw)
To: Russell King
Cc: Harvey Harrison, Linus Torvalds, LKML, Andrew Morton,
Randy Dunlap
On Tue, 22 Apr 2008, Russell King wrote:
> That was my initial approach as well, which got shot down by Andrew
> Morton and others as being unacceptable.
where? why?
Seems like we need to push back on that part.
> On Tue, Apr 22, 2008 at 01:25:50PM -0700, Harvey Harrison wrote:
> > Limit this driver to ARCH_PXA, noticed by breakage on allyesconfig
> > builds on 32-bit x86.
> >
> > Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
> > ---
> > Linus, please apply and Russell can fix it up however he likes later
> > in the week. Many people are hitting this.
> >
> > drivers/mfd/Kconfig | 1 +
> > 1 files changed, 1 insertions(+), 0 deletions(-)
> >
> > diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> > index 2566479..bd29c61 100644
> > --- a/drivers/mfd/Kconfig
> > +++ b/drivers/mfd/Kconfig
> > @@ -32,6 +32,7 @@ config HTC_EGPIO
> >
> > config HTC_PASIC3
> > tristate "HTC PASIC3 LED/DS1WM chip support"
> > + depends on ARCH_PXA
> > help
> > This core driver provides register access for the LED/DS1WM
> > chips labeled "AIC2" and "AIC3", found on HTC Blueangel and
> > --
> > 1.5.5.144.g3e42
--
~Randy
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] mfd: kconfig exposing unbuildable driver
2008-04-22 20:38 ` Randy.Dunlap
@ 2008-04-22 20:45 ` Russell King
2008-04-22 20:47 ` Randy.Dunlap
0 siblings, 1 reply; 13+ messages in thread
From: Russell King @ 2008-04-22 20:45 UTC (permalink / raw)
To: Randy.Dunlap
Cc: Harvey Harrison, Linus Torvalds, LKML, Andrew Morton,
Randy Dunlap
On Tue, Apr 22, 2008 at 01:38:28PM -0700, Randy.Dunlap wrote:
> On Tue, 22 Apr 2008, Russell King wrote:
>
> > That was my initial approach as well, which got shot down by Andrew
> > Morton and others as being unacceptable.
>
> where?
In private mail.
> why?
Well, first I need to gain the permission of Andrew to post his private
message. I'm not being subborn here - I _do_ _not_ reproduce private
messages in public without prior permission.
> Seems like we need to push back on that part.
Talk to Andrew then.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] mfd: kconfig exposing unbuildable driver
2008-04-22 20:45 ` Russell King
@ 2008-04-22 20:47 ` Randy.Dunlap
2008-04-22 21:01 ` Russell King
0 siblings, 1 reply; 13+ messages in thread
From: Randy.Dunlap @ 2008-04-22 20:47 UTC (permalink / raw)
To: Russell King
Cc: Randy.Dunlap, Harvey Harrison, Linus Torvalds, LKML,
Andrew Morton, Randy Dunlap
On Tue, 22 Apr 2008, Russell King wrote:
> On Tue, Apr 22, 2008 at 01:38:28PM -0700, Randy.Dunlap wrote:
> > On Tue, 22 Apr 2008, Russell King wrote:
> >
> > > That was my initial approach as well, which got shot down by Andrew
> > > Morton and others as being unacceptable.
> >
> > where?
>
> In private mail.
>
> > why?
>
> Well, first I need to gain the permission of Andrew to post his private
> message. I'm not being subborn here - I _do_ _not_ reproduce private
> messages in public without prior permission.
Sure, understood.
> > Seems like we need to push back on that part.
>
> Talk to Andrew then.
He is cc-ed (although traveling much this week IIRC).
--
~Randy
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] mfd: kconfig exposing unbuildable driver
2008-04-22 20:47 ` Randy.Dunlap
@ 2008-04-22 21:01 ` Russell King
2008-04-22 21:06 ` Randy Dunlap
2008-04-23 6:02 ` Andrew Morton
0 siblings, 2 replies; 13+ messages in thread
From: Russell King @ 2008-04-22 21:01 UTC (permalink / raw)
To: Randy.Dunlap
Cc: Harvey Harrison, Linus Torvalds, LKML, Andrew Morton,
Randy Dunlap
On Tue, Apr 22, 2008 at 01:47:18PM -0700, Randy.Dunlap wrote:
> On Tue, 22 Apr 2008, Russell King wrote:
> > On Tue, Apr 22, 2008 at 01:38:28PM -0700, Randy.Dunlap wrote:
> > > On Tue, 22 Apr 2008, Russell King wrote:
> > >
> > > > That was my initial approach as well, which got shot down by Andrew
> > > > Morton and others as being unacceptable.
> > >
> > > where?
> >
> > In private mail.
> >
> > > why?
> >
> > Well, first I need to gain the permission of Andrew to post his private
> > message. I'm not being subborn here - I _do_ _not_ reproduce private
> > messages in public without prior permission.
>
> Sure, understood.
>
> > > Seems like we need to push back on that part.
> >
> > Talk to Andrew then.
>
> He is cc-ed (although traveling much this week IIRC).
In which case, since it's likely I won't get a reply in the next hour
(which'll delay my response by 24 hours) let me paraphrase what Andrew
said.
Andrew believes that it is beneficial to have other architectures,
particularly x86, build other architectures drivers.
Meanwhile, pHilipp Zabel believes this hardware not to be ARM specific.
So, the majority concensus in the three way discussion was that it
should remain visible, and the (unnecessary) include and its dependents
be removed.
Having now had some time (read: half an hour after dinner after getting
back home) to investigate, I can point to the patch in several places:
http://ftp.arm.linux.org.uk/pub/armlinux/kernel/git-cur/arm:devel.mbox
and find the patch with subject line:
[ARM] 5010/1: htc-pasic3: remove unused defines and includes
or grab 5010/1 from my patch system. If you want a patch to plaster
over it, merging that would be a far better solution.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] mfd: kconfig exposing unbuildable driver
2008-04-22 20:33 ` Russell King
2008-04-22 20:38 ` Randy.Dunlap
@ 2008-04-22 21:05 ` Linus Torvalds
2008-04-22 21:36 ` Russell King
2008-04-23 20:14 ` pHilipp Zabel
2008-04-23 20:02 ` pHilipp Zabel
2 siblings, 2 replies; 13+ messages in thread
From: Linus Torvalds @ 2008-04-22 21:05 UTC (permalink / raw)
To: Russell King; +Cc: Harvey Harrison, LKML, Andrew Morton, Randy Dunlap
On Tue, 22 Apr 2008, Russell King wrote:
>
> That was my initial approach as well, which got shot down by Andrew
> Morton and others as being unacceptable.
Hmm. While I in general support the notion of trying to compile drivers on
as wide a variety as hardware as possible, if that HTC_PASIC3 thing really
is a PXA-only piece of hardware, I don't really see the point of not
making the config file accurately represent that.
That said, as far as I can tell, the compile failure is because of this
line:
#include <asm/arch/pxa-regs.h>
and I cannot for the life of me see _why_ it tries to include that header
file. It seems to compile fine on x96-64 if you just remove that include,
and while I still think it should depend on ARCH_PXA just because it makes
no sense _not_ to, I do wonder why that include is there in the first
place.
Hmm?
Linus
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] mfd: kconfig exposing unbuildable driver
2008-04-22 21:01 ` Russell King
@ 2008-04-22 21:06 ` Randy Dunlap
2008-04-23 6:02 ` Andrew Morton
1 sibling, 0 replies; 13+ messages in thread
From: Randy Dunlap @ 2008-04-22 21:06 UTC (permalink / raw)
To: Randy.Dunlap, Russell King
Cc: Linus Torvalds, Harvey Harrison, LKML, Andrew Morton
--- Original Message --- (from rmk:)
> On Tue, Apr 22, 2008 at 01:47:18PM -0700, Randy.Dunlap wrote:
> > On Tue, 22 Apr 2008, Russell King wrote:
> > > On Tue, Apr 22, 2008 at 01:38:28PM -0700, Randy.Dunlap wrote:
> > > > On Tue, 22 Apr 2008, Russell King wrote:
> > > >
> > > > > That was my initial approach as well, which got shot down by Andrew
> > > > > Morton and others as being unacceptable.
> > > >
> > > > where?
> > >
> > > In private mail.
> > >
> > > > why?
> > >
> > > Well, first I need to gain the permission of Andrew to post his private
> > > message. I'm not being subborn here - I _do_ _not_ reproduce private
> > > messages in public without prior permission.
> >
> > Sure, understood.
> >
> > > > Seems like we need to push back on that part.
> > >
> > > Talk to Andrew then.
> >
> > He is cc-ed (although traveling much this week IIRC).
>
> In which case, since it's likely I won't get a reply in the
> next hour
> (which'll delay my response by 24 hours) let me paraphrase
> what Andrew said.
>
> Andrew believes that it is beneficial to have other architectures,
> particularly x86, build other architectures drivers.
Sure.
> Meanwhile, pHilipp Zabel believes this hardware not to be ARM
> specific.
That's the big Important missing info. So the source file is
incorrect, not the Kconfig.l
> So, the majority concensus in the three way discussion was
> that it
> should remain visible, and the (unnecessary) include and its
> dependents be removed.
>
> Having now had some time (read: half an hour after dinner after
> getting
> back home) to investigate, I can point to the patch in several
> places:
>
> http://ftp.arm.linux.org.uk/pub/armlinux/kernel/git-cur/arm:devel.mbox
>
> and find the patch with subject line:
>
> [ARM] 5010/1: htc-pasic3: remove unused defines and includes
>
> or grab 5010/1 from my patch system. If you want a patch to
> plaster over it, merging that would be a far better solution.
OK, sounds fair. Thanks.
~Randy
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] mfd: kconfig exposing unbuildable driver
2008-04-22 21:05 ` Linus Torvalds
@ 2008-04-22 21:36 ` Russell King
2008-04-22 21:47 ` Linus Torvalds
2008-04-23 20:14 ` pHilipp Zabel
1 sibling, 1 reply; 13+ messages in thread
From: Russell King @ 2008-04-22 21:36 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Harvey Harrison, LKML, Andrew Morton, Randy Dunlap
On Tue, Apr 22, 2008 at 02:05:29PM -0700, Linus Torvalds wrote:
> On Tue, 22 Apr 2008, Russell King wrote:
> > That was my initial approach as well, which got shot down by Andrew
> > Morton and others as being unacceptable.
>
> Hmm. While I in general support the notion of trying to compile drivers on
> as wide a variety as hardware as possible, if that HTC_PASIC3 thing really
> is a PXA-only piece of hardware, I don't really see the point of not
> making the config file accurately represent that.
>
> That said, as far as I can tell, the compile failure is because of this
> line:
>
> #include <asm/arch/pxa-regs.h>
>
> and I cannot for the life of me see _why_ it tries to include that header
> file. It seems to compile fine on x96-64 if you just remove that include,
> and while I still think it should depend on ARCH_PXA just because it makes
> no sense _not_ to, I do wonder why that include is there in the first
> place.
>
> Hmm?
I think we've settled this in one of my replies to Randy.
However, I think there's a bigger issue here.
[I'm not including all the details here about the timing - since you
know the timing of my emails to you, the only thing left out is that
Andrew told me about this problem on Sunday Morning (UK time).]
My kernel work pattern is Saturday to Monday inclusive and Thursday.
I believe yours is to avoid Saturday through into most of Monday.
This unfortunately means that we currently have almost no overlap,
and very few consecutive days where issues from the previous day
can be resolved.
In light of that, given my request on Monday not to pull my tree,
should I have deleted the for-linus head at the same time to prevent
the pull occuring if you (as has become apparant) didn't read the
message?
I rather guessed that you hadn't pulled my tree by then, but I wasn't
100% sure - sometimes you've pulled my tree but not pushed yours out
for a few days.
It's really the "not knowing" which has caused this issue - had I
known positively that you hadn't pulled my tree I could have prepared
a replacement tree with all the (now numerous) cockups fixed. Had I
known you had pulled my tree, I would've been able to queue up the
various fixes and had that branch ready to go by Monday evening.
To be really frank, I'm beginning to wonder whether using git is such
a good idea - at least if I was sending you a stream of patches then
all I'd needed to have done was forward you the relevant patches as
fixes to the previous set - and I wouldn't care whether you'd applied
the previous set at that point.
But with git, it has to be known what you're doing at your end before
I can make a decision about how to fix issues at my end.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] mfd: kconfig exposing unbuildable driver
2008-04-22 21:36 ` Russell King
@ 2008-04-22 21:47 ` Linus Torvalds
0 siblings, 0 replies; 13+ messages in thread
From: Linus Torvalds @ 2008-04-22 21:47 UTC (permalink / raw)
To: Russell King; +Cc: Harvey Harrison, LKML, Andrew Morton, Randy Dunlap
On Tue, 22 Apr 2008, Russell King wrote:
>
> To be really frank, I'm beginning to wonder whether using git is such
> a good idea - at least if I was sending you a stream of patches then
> all I'd needed to have done was forward you the relevant patches as
> fixes to the previous set - and I wouldn't care whether you'd applied
> the previous set at that point.
>
> But with git, it has to be known what you're doing at your end before
> I can make a decision about how to fix issues at my end.
I really don't see what you are talking about, and nobody else has that
problem.
With patches, once you send them, they are sent, and you can't fix it.
With git, once you send my the "please pull", it's sent, and you can't fix
it.
And with either, you can update the queue later. I don't understand AT ALL
why you think they are different.
In fact, if anything, git trees are a lot more flexible. With git, what
you can do is fix up the tree at any time, and send me an email saying
"ok, if you already pulled it's too late, but if you didn't, the tree is
now fixed". That you can't do with patches, because once you've sent them
out they are out of your control.
But with both git and patches you can *always* just append on top of the
previous set. Just send me a new set of patches (with git, that obviously
means just sending me a new pull-request with updated information).
This is what everybody else does, it's not even unusual.
Linus
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] mfd: kconfig exposing unbuildable driver
2008-04-22 21:01 ` Russell King
2008-04-22 21:06 ` Randy Dunlap
@ 2008-04-23 6:02 ` Andrew Morton
1 sibling, 0 replies; 13+ messages in thread
From: Andrew Morton @ 2008-04-23 6:02 UTC (permalink / raw)
To: Russell King
Cc: rdunlap, harvey.harrison, torvalds, linux-kernel, randy.dunlap
> On Tue, 22 Apr 2008 22:01:53 +0100 Russell King <rmk+lkml@arm.linux.org.uk> wrote:
> On Tue, Apr 22, 2008 at 01:47:18PM -0700, Randy.Dunlap wrote:
> > On Tue, 22 Apr 2008, Russell King wrote:
> > > On Tue, Apr 22, 2008 at 01:38:28PM -0700, Randy.Dunlap wrote:
> > > > On Tue, 22 Apr 2008, Russell King wrote:
> > > >
> > > > > That was my initial approach as well, which got shot down by Andrew
> > > > > Morton and others as being unacceptable.
> > > >
> > > > where?
> > >
> > > In private mail.
> > >
> > > > why?
> > >
> > > Well, first I need to gain the permission of Andrew to post his private
> > > message. I'm not being subborn here - I _do_ _not_ reproduce private
> > > messages in public without prior permission.
> >
> > Sure, understood.
> >
> > > > Seems like we need to push back on that part.
> > >
> > > Talk to Andrew then.
> >
> > He is cc-ed (although traveling much this week IIRC).
>
> In which case, since it's likely I won't get a reply in the next hour
> (which'll delay my response by 24 hours) let me paraphrase what Andrew
> said.
>
> Andrew believes that it is beneficial to have other architectures,
> particularly x86, build other architectures drivers.
Well. I pointed out that there are arguments either way, and I do tend to
think that the let-x86-compile-it-too approach is perhaps the better one,
but that's a 51%/49% opinion. Others disagree and lots and lots of code
has gone the other way. Do whatever you think best ;)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] mfd: kconfig exposing unbuildable driver
2008-04-22 20:33 ` Russell King
2008-04-22 20:38 ` Randy.Dunlap
2008-04-22 21:05 ` Linus Torvalds
@ 2008-04-23 20:02 ` pHilipp Zabel
2 siblings, 0 replies; 13+ messages in thread
From: pHilipp Zabel @ 2008-04-23 20:02 UTC (permalink / raw)
To: Russell King
Cc: Harvey Harrison, Linus Torvalds, LKML, Andrew Morton,
Randy Dunlap
On Tue, Apr 22, 2008 at 10:33 PM, Russell King
<rmk+lkml@arm.linux.org.uk> wrote:
> That was my initial approach as well, which got shot down by Andrew
> Morton and others as being unacceptable.
'Shot down' is a bit harsh. I just argued that technically the driver
does not depend on ARM (and neither does the ASIC, most probably).
On the other hand, AFAIK it is proprietary HTC silicon only found in a
handful of their devices, all of which are PXA2xx based.
> On Tue, Apr 22, 2008 at 01:25:50PM -0700, Harvey Harrison wrote:
> > Limit this driver to ARCH_PXA, noticed by breakage on allyesconfig
> > builds on 32-bit x86.
> >
> > Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
> > ---
> > Linus, please apply and Russell can fix it up however he likes later
> > in the week. Many people are hitting this.
> >
> > drivers/mfd/Kconfig | 1 +
> > 1 files changed, 1 insertions(+), 0 deletions(-)
> >
> > diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> > index 2566479..bd29c61 100644
> > --- a/drivers/mfd/Kconfig
> > +++ b/drivers/mfd/Kconfig
> > @@ -32,6 +32,7 @@ config HTC_EGPIO
> >
> > config HTC_PASIC3
> > tristate "HTC PASIC3 LED/DS1WM chip support"
> > + depends on ARCH_PXA
> > help
> > This core driver provides register access for the LED/DS1WM
> > chips labeled "AIC2" and "AIC3", found on HTC Blueangel and
> > --
> > 1.5.5.144.g3e42
> >
> >
> >
>
> --
> Russell King
> Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
> maintainer of:
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
regards
Philipp
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] mfd: kconfig exposing unbuildable driver
2008-04-22 21:05 ` Linus Torvalds
2008-04-22 21:36 ` Russell King
@ 2008-04-23 20:14 ` pHilipp Zabel
1 sibling, 0 replies; 13+ messages in thread
From: pHilipp Zabel @ 2008-04-23 20:14 UTC (permalink / raw)
To: Linus Torvalds
Cc: Russell King, Harvey Harrison, LKML, Andrew Morton, Randy Dunlap
On Tue, Apr 22, 2008 at 11:05 PM, Linus Torvalds
<torvalds@linux-foundation.org> wrote:
>
>
> On Tue, 22 Apr 2008, Russell King wrote:
> >
>
> > That was my initial approach as well, which got shot down by Andrew
> > Morton and others as being unacceptable.
>
> Hmm. While I in general support the notion of trying to compile drivers on
> as wide a variety as hardware as possible, if that HTC_PASIC3 thing really
> is a PXA-only piece of hardware, I don't really see the point of not
> making the config file accurately represent that.
>
> That said, as far as I can tell, the compile failure is because of this
> line:
>
> #include <asm/arch/pxa-regs.h>
>
> and I cannot for the life of me see _why_ it tries to include that header
> file. It seems to compile fine on x96-64 if you just remove that include,
> and while I still think it should depend on ARCH_PXA just because it makes
> no sense _not_ to, I do wonder why that include is there in the first
> place.
>
> Hmm?
I'm embarrased to say, this is a left-over from a clean-up that
happened a long time ago. I probably forgot to double-check the
includes of this file before submitting to Russell. And this
superfluous include was never pointed out to me because I only
compiled that driver for ARM/PXA.
It seems having the driver enabled for x86 builds had its benefits (a
bug was found :)). I guess now it could just as well be made to depend
on ARCH_PXA, because although it does not really depend on pxa, it is
not of much use on any other architecture.
regards
Philipp
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2008-04-23 20:14 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-22 20:25 [PATCH] mfd: kconfig exposing unbuildable driver Harvey Harrison
2008-04-22 20:33 ` Russell King
2008-04-22 20:38 ` Randy.Dunlap
2008-04-22 20:45 ` Russell King
2008-04-22 20:47 ` Randy.Dunlap
2008-04-22 21:01 ` Russell King
2008-04-22 21:06 ` Randy Dunlap
2008-04-23 6:02 ` Andrew Morton
2008-04-22 21:05 ` Linus Torvalds
2008-04-22 21:36 ` Russell King
2008-04-22 21:47 ` Linus Torvalds
2008-04-23 20:14 ` pHilipp Zabel
2008-04-23 20:02 ` pHilipp Zabel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox