lkml.org 
[lkml]   [2011]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/10 v2] Generic Watchdog Timer Driver
Hi Arnd,

> > +EXPORT_SYMBOL(watchdog_register_device);
>
> How about making this EXPORT_SYMBOL_GPL?

My opinion: the new framework has been created for 2 reasons:
1) consolidation of the code that is being repeated in each driver
2) to make it possible to support more then one driver.
If we want to support more then one driver, then the out-of-tree drivers
would benefit from using the API. Even the non-GPL ones.
My feeling is that if we restrict to GPL only, that we then can have the
situation where users will have problems loading the normal in-tree drivers
together with a non-gpl driver that also wants to use /dev/watchdog...
where it could use the same framework.
On the other hand: I don't think there will be really many non-GPL out of
tree drivers anyway.

Alan: what's your opinion?

Kind regards,
Wim.



\
 
 \ /
  Last update: 2011-07-06 21:19    [from the cache]
©2003-2011 Jasper Spaans