Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <robh@kernel.org>
Cc: <devicetree@vger.kernel.org>
Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>
Signed-off-by: Peter Chen <peter.chen@nxp.com>

authored by

Stephen Boyd and committed by
Peter Chen
7a3b7cd3 9c829c09

+2
+2
drivers/of/device.c
··· 225 225 226 226 return tsize; 227 227 } 228 + EXPORT_SYMBOL_GPL(of_device_get_modalias); 228 229 229 230 int of_device_request_module(struct device *dev) 230 231 { ··· 311 310 312 311 return 0; 313 312 } 313 + EXPORT_SYMBOL_GPL(of_device_uevent_modalias);