From: Greg Kroah-Hartman Date: Tue, 25 Jul 2017 18:29:42 +0000 (-0700) Subject: 4.4-stable patches X-Git-Tag: v3.18.63~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a8f370b09f3af172162b98d51b4fbe88f5452671;p=thirdparty%2Fkernel%2Fstable-queue.git 4.4-stable patches added patches: of-device-export-of_device_-get_modalias-uvent_modalias-to-modules.patch --- diff --git a/queue-4.4/of-device-export-of_device_-get_modalias-uvent_modalias-to-modules.patch b/queue-4.4/of-device-export-of_device_-get_modalias-uvent_modalias-to-modules.patch new file mode 100644 index 00000000000..8220bbca2e4 --- /dev/null +++ b/queue-4.4/of-device-export-of_device_-get_modalias-uvent_modalias-to-modules.patch @@ -0,0 +1,38 @@ +From 7a3b7cd332db08546f3cdd984f11773e0d1999e7 Mon Sep 17 00:00:00 2001 +From: Stephen Boyd +Date: Wed, 28 Dec 2016 14:56:48 -0800 +Subject: of: device: Export of_device_{get_modalias, uvent_modalias} to modules + +From: Stephen Boyd + +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 +Cc: +Signed-off-by: Stephen Boyd +Signed-off-by: Peter Chen +Signed-off-by: Greg Kroah-Hartman + +--- + drivers/of/device.c | 2 ++ + 1 file changed, 2 insertions(+) + +--- a/drivers/of/device.c ++++ b/drivers/of/device.c +@@ -225,6 +225,7 @@ ssize_t of_device_get_modalias(struct de + + return tsize; + } ++EXPORT_SYMBOL_GPL(of_device_get_modalias); + + /** + * of_device_uevent - Display OF related uevent information +@@ -287,3 +288,4 @@ int of_device_uevent_modalias(struct dev + + return 0; + } ++EXPORT_SYMBOL_GPL(of_device_uevent_modalias); diff --git a/queue-4.4/series b/queue-4.4/series index 7386524889d..853d3fccfb2 100644 --- a/queue-4.4/series +++ b/queue-4.4/series @@ -77,6 +77,7 @@ rdma-core-initialize-port_num-in-qp_attr.patch drm-mst-fix-error-handling-during-mst-sideband-message-reception.patch drm-mst-avoid-dereferencing-a-null-mstb-in-drm_dp_mst_handle_up_req.patch drm-mst-avoid-processing-partially-received-up-down-message-transactions.patch +of-device-export-of_device_-get_modalias-uvent_modalias-to-modules.patch spmi-include-of-based-modalias-in-device-uevent.patch tracing-fix-kmemleak-in-instance_rmdir.patch alarmtimer-don-t-rate-limit-one-shot-timers.patch