base: soc: export soc_device_to_device API
PATCH 1/1 base: soc: export soc_device_to_device API
From: Alice Guo <[email protected]>
Driver which uses soc_device_to_device needs to be built as a module, so export this API.
Signed-off-by Alice Guo <[email protected]>
--- drivers/base/soc.c | 1 + 1 file changed, 1 insertion(+)
drivers/base/soc.c +1 -0
@@ -41,6 +41,7 @@ struct device *soc_device_to_device(struct soc_device *soc_dev) {return &soc_dev->dev; } +EXPORT_SYMBOL_GPL (soc_device_to_device); static umode_t soc_attribute_mode(struct kobject *kobj, struct attribute *attr,
Signature · 1 line
2.17.1
Greg KH
maintainerQuoted 4 lines · Alice Guo (OSS)
From: Alice Guo <[email protected]>
Driver which uses
soc_device_to_deviceneeds to be built as a module, so export this API.
What in-kernel driver needs this? I have not seen any build errors, where were they reported?
thanks,
greg k-h