Re: [RFC] Kconfig fun with sparc32/sparc64 rtc drivers

From: David Miller
Date: Sun Jul 22 2007 - 02:40:06 EST


From: Al Viro <viro@xxxxxxxxxxxxxxxx>
Date: Sun, 22 Jul 2007 07:35:11 +0100

> > Crude and simple way would be to add
> >
> > config JS_RTC
> > tristate "JavaStation RTC"
> > depends on SPARC32 && PCI
> > <copy help from RTC with s/will be called rtc/will be called js-rtc>
> >
> > in drivers/char/Kconfig, slap plain and simple !SPARC in RTC dependencies
> > and put
> > js-rtc-y = rtc.o
> > obj-$(JS_RTC) += js-rtc.o
> > in drivers/char/Makefile
> >
> > Objections?
>
> Oh, and s/CONFIG_RTC/CONFIG_JS_RTC/ in arch/sparc/defconfig, of course.

No objections.
-
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/