Re: [PATCH 01/13] RTC Subsystem, library functions

From: Adrian Bunk
Date: Sat Mar 04 2006 - 12:18:10 EST


On Sat, Mar 04, 2006 at 06:12:41PM +0100, Alessandro Zummo wrote:
> On Sat, 4 Mar 2006 17:58:43 +0100
> Adrian Bunk <bunk@xxxxxxxxx> wrote:
>
> > > +# RTC class/drivers configuration
> > > +#
> > > +
> > > +config RTC_LIB
> > > + bool
> > >...
> >
> > What about
> >
> > config RTC_LIB
> > tristate
> >
> > and
> >
> > obj-$(CONFIG_RTC_LIB) += rtc-lib.o
> >
> > ?
>
> The rtc library code is selected also by code that goes in
> arch specific code (arm, for example). I'm not sure it will appropriate
> to use it as a module.
>...

That's not an issue:

If any option that is itself set to y (e.g. ARM) select's RTC_LIB,
RTC_LIB is built statically into the kernel.

> Best regards,
> Alessandro Zummo,

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
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/