OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99b28f1
)
Driver core: export platform_device_register_data as a GPL symbol
author
Michael Hennerich
<michael.hennerich@analog.com>
Mon, 21 Dec 2009 16:41:08 +0000
(11:41 -0500)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 23 Dec 2009 19:23:44 +0000
(11:23 -0800)
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>
drivers/base/platform.c
patch
|
blob
|
history
diff --git
a/drivers/base/platform.c
b/drivers/base/platform.c
index
9d2ee25
..
58efaf2
100644
(file)
--- 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)
{