lkml.org 
[lkml]   [2006]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 01/13] RTC Subsystem, library functions
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.

> IOW:
> Is there anything besides adding a MODULE_LICENSE("GPL"); required for
> allowing an rtc-lib module?

I think MODULE_LICENSE("GPL") should be enough.

> > --- linux-rtc.orig/drivers/Makefile 2006-02-28 13:16:34.000000000 +0100
> > +++ linux-rtc/drivers/Makefile 2006-02-28 13:16:36.000000000 +0100
> > @@ -56,6 +56,7 @@ obj-$(CONFIG_USB_GADGET) += usb/gadget/
> > obj-$(CONFIG_GAMEPORT) += input/gameport/
> > obj-$(CONFIG_INPUT) += input/
> > obj-$(CONFIG_I2O) += message/
> > +obj-y += rtc/
> >...
>
> obj-$(CONFIG_RTC_LIB) += rtc/
>
> should be possible since RTC_CLASS select's RTC_LIB.

probably yes. will change.

--

Best regards,

Alessandro Zummo,
Tower Technologies - Turin, Italy

http://www.towertech.it

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-04 18:15    [W:0.253 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site