projects/linux·commit 0787fdf7

Driver core: export platform_device_register_data as a GPL symbol

0787fdf7 · Michael Hennerich <[email protected]> · 2009-12-21 11:41:08 -05:00

This allows MFD's to register/bind drivers for their sub devices while
still being compiled as a module.

Signed-off-by: Michael Hennerich <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Commit
0787fdf70ba4c41a3350096ebaa347a17e900385
Parents
99b28f1b

Changes

1 files changed · +1 −0

FileStatusAddDelContent
drivers/base/platform.cmodified+1−0View file

drivers/base/platform.c

View file
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)
{