* [PATCH] Driver core: export platform_device_register_data as a GPL symbol @ 2009-12-21 16:41 Mike Frysinger 2009-12-21 16:46 ` Greg KH 0 siblings, 1 reply; 4+ messages in thread From: Mike Frysinger @ 2009-12-21 16:41 UTC (permalink / raw) To: Greg Kroah-Hartman; +Cc: Andrew Morton, linux-kernel, Michael Hennerich From: Michael Hennerich <michael.hennerich@analog.com> This allows MFD's to register/bind drivers for their sub devices while still being compiled as a module. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> --- drivers/base/platform.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/base/platform.c b/drivers/base/platform.c index 9d2ee25..58efaf2 100644 --- a/drivers/base/platform.c +++ b/drivers/base/platform.c @@ -441,6 +441,7 @@ error: platform_device_put(pdev); return ERR_PTR(retval); } +EXPORT_SYMBOL_GPL(platform_device_register_data); static int platform_drv_probe(struct device *_dev) { -- 1.6.5.4 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Driver core: export platform_device_register_data as a GPL symbol 2009-12-21 16:41 [PATCH] Driver core: export platform_device_register_data as a GPL symbol Mike Frysinger @ 2009-12-21 16:46 ` Greg KH 2009-12-21 17:05 ` Mike Frysinger 0 siblings, 1 reply; 4+ messages in thread From: Greg KH @ 2009-12-21 16:46 UTC (permalink / raw) To: Mike Frysinger; +Cc: Andrew Morton, linux-kernel, Michael Hennerich On Mon, Dec 21, 2009 at 11:41:08AM -0500, Mike Frysinger wrote: > From: Michael Hennerich <michael.hennerich@analog.com> > > This allows MFD's to register/bind drivers for their sub devices while > still being compiled as a module. Is this a problem that we need to get resolved in .33, or older kernels, or just for .34? thanks, greg k-h ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Driver core: export platform_device_register_data as a GPL symbol 2009-12-21 16:46 ` Greg KH @ 2009-12-21 17:05 ` Mike Frysinger 2009-12-21 17:14 ` Greg KH 0 siblings, 1 reply; 4+ messages in thread From: Mike Frysinger @ 2009-12-21 17:05 UTC (permalink / raw) To: Greg KH; +Cc: Andrew Morton, linux-kernel, Michael Hennerich On Mon, Dec 21, 2009 at 11:46, Greg KH wrote: > On Mon, Dec 21, 2009 at 11:41:08AM -0500, Mike Frysinger wrote: >> This allows MFD's to register/bind drivers for their sub devices while >> still being compiled as a module. > > Is this a problem that we need to get resolved in .33, or older kernels, > or just for .34? the functionality is in place now, so it could be used in .33. but it isnt that big of a deal to simply say the mfd core cant be built as a module right now. so, it'd be nice for .33, but if it's too much hassle, .34 is OK. -mike ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Driver core: export platform_device_register_data as a GPL symbol 2009-12-21 17:05 ` Mike Frysinger @ 2009-12-21 17:14 ` Greg KH 0 siblings, 0 replies; 4+ messages in thread From: Greg KH @ 2009-12-21 17:14 UTC (permalink / raw) To: Mike Frysinger; +Cc: Andrew Morton, linux-kernel, Michael Hennerich On Mon, Dec 21, 2009 at 12:05:40PM -0500, Mike Frysinger wrote: > On Mon, Dec 21, 2009 at 11:46, Greg KH wrote: > > On Mon, Dec 21, 2009 at 11:41:08AM -0500, Mike Frysinger wrote: > >> This allows MFD's to register/bind drivers for their sub devices while > >> still being compiled as a module. > > > > Is this a problem that we need to get resolved in .33, or older kernels, > > or just for .34? > > the functionality is in place now, so it could be used in .33. but it > isnt that big of a deal to simply say the mfd core cant be built as a > module right now. > > so, it'd be nice for .33, but if it's too much hassle, .34 is OK. Ok, I'll queue it up for .33, as it keeps an in-kernel driver from working properly now. thanks, greg k-h ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-12-21 17:25 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-12-21 16:41 [PATCH] Driver core: export platform_device_register_data as a GPL symbol Mike Frysinger 2009-12-21 16:46 ` Greg KH 2009-12-21 17:05 ` Mike Frysinger 2009-12-21 17:14 ` Greg KH
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox