Skip to content

Commit 29669d8

Browse files
bebarinogregkh
authored andcommitted
of: device: Export of_device_{get_modalias, uvent_modalias} to modules
commit 7a3b7cd332db08546f3cdd984f11773e0d1999e7 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 4ca0f37 commit 29669d8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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
/**
230231
* of_device_uevent - Display OF related uevent information
@@ -287,3 +288,4 @@ int of_device_uevent_modalias(struct device *dev, struct kobj_uevent_env *env)
287288

288289
return 0;
289290
}
291+
EXPORT_SYMBOL_GPL(of_device_uevent_modalias);

0 commit comments

Comments
 (0)