Home Home > GIT Browse > SLE12-SP4
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMian Yousaf Kaukab <yousaf.kaukab@suse.com>2019-08-08 12:22:02 +0200
committerMian Yousaf Kaukab <yousaf.kaukab@suse.com>2019-08-08 12:22:11 +0200
commite2906b310f71d945726ab53beebbc7fb2cecda16 (patch)
tree636f8d288e6d65df4628bb4cf16be70d189555a8
parentc57dfa50685f3fc3485d640e9d4d4321d6931578 (diff)
clk: Export clk_bulk_prepare() (bsc#1144813).
-rw-r--r--patches.drivers/0002-clk-Export-clk_bulk_prepare.patch36
-rw-r--r--series.conf1
2 files changed, 37 insertions, 0 deletions
diff --git a/patches.drivers/0002-clk-Export-clk_bulk_prepare.patch b/patches.drivers/0002-clk-Export-clk_bulk_prepare.patch
new file mode 100644
index 0000000000..97f2d880a8
--- /dev/null
+++ b/patches.drivers/0002-clk-Export-clk_bulk_prepare.patch
@@ -0,0 +1,36 @@
+From: Bjorn Andersson <bjorn.andersson@linaro.org>
+Date: Fri, 22 Sep 2017 22:00:29 -0700
+Subject: clk: Export clk_bulk_prepare()
+
+Git-commit: 9792bf5ad5e30b207274ccbb459a89eab6033b46
+Patch-mainline: v4.14-rc4
+References: bsc#1144813
+
+Allow clk_bulk_prepare() to be referenced by kernel modules by adding
+the missing EXPORT_SYMBOL_GPL().
+
+Fixes: 266e4e9d9150 ("clk: add clk_bulk_get accessories")
+Reported-by: Ulf Hansson <ulf.hansson@linaro.org>
+Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
+Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
+Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
+Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@suse.com>
+---
+ drivers/clk/clk-bulk.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/clk/clk-bulk.c b/drivers/clk/clk-bulk.c
+index c834f5abfc49..4c10456f8a32 100644
+--- a/drivers/clk/clk-bulk.c
++++ b/drivers/clk/clk-bulk.c
+@@ -105,6 +105,7 @@ int __must_check clk_bulk_prepare(int num_clks,
+
+ return ret;
+ }
++EXPORT_SYMBOL_GPL(clk_bulk_prepare);
+
+ #endif /* CONFIG_HAVE_CLK_PREPARE */
+
+--
+2.11.0
+
diff --git a/series.conf b/series.conf
index bcd538376a..964402519f 100644
--- a/series.conf
+++ b/series.conf
@@ -7487,6 +7487,7 @@
patches.drivers/nvme-pci-Use-PCI-bus-address-for-data-queues-in-CMB.patch
patches.fixes/xfs-always-swap-the-cow-forks-when-swapping-extents.patch
patches.fixes/xfs-handle-racy-AIO-in-xfs_reflink_end_cow.patch
+ patches.drivers/0002-clk-Export-clk_bulk_prepare.patch
patches.drivers/0003-hwmon-xgene-Fix-up-error-handling-path-mixup-in-xgen.patch
patches.drivers/0001-mmc-core-add-driver-strength-selection-when-selectin.patch
patches.drivers/mmc-sdhci-xenon-Fix-clock-resource-by-adding-an-opti