[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081122233356.GC24437@datenfreihafen.org>
Date: Sun, 23 Nov 2008 00:33:56 +0100
From: Stefan Schmidt <stefan@...nmoko.org>
To: David Brownell <david-b@...bell.net>
Cc: Daniel Ribeiro <drwyrm@...il.com>,
spi-devel-general@...ts.sourceforge.net, eric.y.miao@...il.com,
sameo@...nedhand.com, linux-arm-kernel@...ts.arm.linux.org.uk,
linux-kernel@...r.kernel.org
Subject: Re: [spi-devel-general] [patch 05/14] mfd: PCAP2 driver
Hello.
On Sat, 2008-11-22 at 11:19, David Brownell wrote:
> On Saturday 22 November 2008, Daniel Ribeiro wrote:
> >
> > +config EZX_PCAP
> > + bool "PCAP Support"
> > + depends on PXA_EZX
>
> It only builds on one platform. Now, that may make sense if it's
> an ASIC currently used only on that platform; it's a "hardware"
> dependency. But it's not a necessary "software" dependency, no
> code here seems to rely on PXA hardware, or EZX hardware.
It is software and we are on the way fixing it.
> One of the goals of getting drivers into mainline is to get rid
> of needless dependencies ... and thereby open the code up to
> many more developers. Some may do nothing more than cleanup;
> others will be doing API overhauls, which can be a PITA if you
> place needless build dependencies on your code.
Understand. We have been a bit lazy here, sorry. That is mostly based on the
fact that we have never seen any other linux devices having this chip. Only some
low power feature phones with the P2K OS from Motorola. Anyway, we work on it to
get it more generic now.
> Strike that dependency, and depend instead on SPI_MASTER since
> that's the only dependency truly required by the build system.
Will do.
regards
Stefan Schmidt
--
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