summaryrefslogtreecommitdiff
path: root/drivers/base/platform.c
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2009-12-21 11:41:08 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-23 11:23:44 -0800
commit0787fdf70ba4c41a3350096ebaa347a17e900385 (patch)
tree75a4bcdca005253e6b9b4e901f29672ef1352f5f /drivers/base/platform.c
parent99b28f1b4126582f87ce454d4affb823bddf2cd8 (diff)
downloadlinux-3.10-0787fdf70ba4c41a3350096ebaa347a17e900385.tar.gz
linux-3.10-0787fdf70ba4c41a3350096ebaa347a17e900385.tar.bz2
linux-3.10-0787fdf70ba4c41a3350096ebaa347a17e900385.zip
Driver core: export platform_device_register_data as a GPL symbol
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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/platform.c')
-rw-r--r--drivers/base/platform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/platform.c b/drivers/base/platform.c
index 9d2ee25deaf..58efaf2f125 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)
{