Re: [PATCH] drivers/char/rtc: disable legacy RTC driver on Blackfinsystems
From: Andrew Morton
Date: Tue May 26 2009 - 16:32:46 EST
On Tue, 26 May 2009 06:25:02 -0400
Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
> On Tue, May 26, 2009 at 06:10:33AM -0400, Mike Frysinger wrote:
> > tristate "Enhanced Real Time Clock Support (legacy PC RTC driver)"
> > depends on !PPC && !PARISC && !IA64 && !M68K && !SPARC && !FRV \
> > - && !ARM && !SUPERH && !S390 && !AVR32
> > + && !ARM && !SUPERH && !S390 && !AVR32 && !BLACKFIN
> Maybe it's better to have a positive dependency for those that actually
> support it these days?
yeah, we do this rather a lot and it's pretty stupid.
> Based on the above list that would be:
> depends on ALPHA || CRIS || H8300 || M32R || MICROBLAZE ||
> MIPS || MN10300 || SH || X86 || XTENSA
> and I would not be surprised if some of the above don't actually support
> it either..
It would be better to make this driver depend on simply CONFIG_WANT_RTC
or similar and then select CONFIG_WANT_RTC in the relevant
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/