Driver core: export platform_device_register_data as a GPL symbol
PATCH 1/1 Driver core: export platform_device_register_data as a GPL symbol
From: Michael Hennerich <[email protected]>
This allows MFD's to register/bind drivers for their sub devices while still being compiled as a module.
--- drivers/base/platform.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/base/platform.c +1 -0
@@ -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) {
Signature · 1 line
1.6.5.4
Quoted 4 lines · Mike Frysinger
From: Michael Hennerich <[email protected]>
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
Quoted 6 lines · Greg KH
Quoted 2 lines · Mike Frysinger
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
Quoted 5 lines · Mike Frysinger
Quoted 4 lines · Greg KH
Quoted 2 lines · Mike Frysinger
This allows MFD's to register/bind drivers for their sub devices while still being compiled as a module.
Quoted 8 lines
Quoted 2 lines
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