Skip to content

Commit 7a3b7cd

Browse files
bebarinoPeter Chen
authored andcommitted
of: device: Export of_device_{get_modalias, uvent_modalias} to modules
The ULPI bus can be built as a module, and it will soon be calling these functions when it supports probing devices from DT. Export them so they can be used by the ULPI module. Acked-by: Rob Herring <[email protected]> Cc: <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Signed-off-by: Peter Chen <[email protected]>
1 parent 9c829c0 commit 7a3b7cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/of/device.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ ssize_t of_device_get_modalias(struct device *dev, char *str, ssize_t len)
225225

226226
return tsize;
227227
}
228+
EXPORT_SYMBOL_GPL(of_device_get_modalias);
228229

229230
int of_device_request_module(struct device *dev)
230231
{
@@ -310,3 +311,4 @@ int of_device_uevent_modalias(struct device *dev, struct kobj_uevent_env *env)
310311

311312
return 0;
312313
}
314+
EXPORT_SYMBOL_GPL(of_device_uevent_modalias);

0 commit comments

Comments
 (0)