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

Adrian Bunk
2006-03-04T17:20:37Z

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@stusta.de> 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