]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.9-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jul 2017 18:29:51 +0000 (11:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jul 2017 18:29:51 +0000 (11:29 -0700)
added patches:
of-device-export-of_device_-get_modalias-uvent_modalias-to-modules.patch

queue-4.9/of-device-export-of_device_-get_modalias-uvent_modalias-to-modules.patch [new file with mode: 0644]
queue-4.9/series

diff --git a/queue-4.9/of-device-export-of_device_-get_modalias-uvent_modalias-to-modules.patch b/queue-4.9/of-device-export-of_device_-get_modalias-uvent_modalias-to-modules.patch
new file mode 100644 (file)
index 0000000..8220bbc
--- /dev/null
@@ -0,0 +1,38 @@
+From 7a3b7cd332db08546f3cdd984f11773e0d1999e7 Mon Sep 17 00:00:00 2001
+From: Stephen Boyd <stephen.boyd@linaro.org>
+Date: Wed, 28 Dec 2016 14:56:48 -0800
+Subject: of: device: Export of_device_{get_modalias, uvent_modalias} to modules
+
+From: Stephen Boyd <stephen.boyd@linaro.org>
+
+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>
+
+---
+ 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);
index 0e6f0d272159d1aa4d39105f370220de5681cc01..1b14249d9fa2061372a8cb7b0163389515055fca 100644 (file)
@@ -117,6 +117,7 @@ mlx5-avoid-that-mlx5_ib_sg_to_klms-overflows-the-klms-array.patch
 hfsplus-don-t-clear-sgid-when-inheriting-acls.patch
 ovl-fix-random-return-value-on-mount.patch
 acpi-nfit-fix-memory-corruption-unregister-mce-decoder-on-failure.patch
+of-device-export-of_device_-get_modalias-uvent_modalias-to-modules.patch
 spmi-include-of-based-modalias-in-device-uevent.patch
 reiserfs-don-t-clear-sgid-when-inheriting-acls.patch
 pm-domains-defer-dev_pm_domain_set-until-genpd-attach_dev-succeeds-if-present.patch