Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1277838 > unrolled thread

[PATCH] clk: mmp: add linux/clk.h includes

Started byArnd Bergmann <arnd@arndb.de>
First post2015-11-25 23:10 +0100
Last post2015-11-25 23:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] clk: mmp: add linux/clk.h includes Arnd Bergmann <arnd@arndb.de> - 2015-11-25 23:10 +0100
    Re: [PATCH] clk: mmp: add linux/clk.h includes Stephen Boyd <sboyd@codeaurora.org> - 2015-11-25 23:10 +0100

#1277838 — [PATCH] clk: mmp: add linux/clk.h includes

FromArnd Bergmann <arnd@arndb.de>
Date2015-11-25 23:10 +0100
Subject[PATCH] clk: mmp: add linux/clk.h includes
Message-ID<qyQqe-3L8-19@gated-at.bofh.it>
The common clk implementation for MMP broke without anyone noticing
when we stopped including linux/clk.h from the clk-provider header.

This did not show up in the defconfig builds because those use the
legacy MMP clk drivers, and it did not show up in my randconfig tests
either because I was testing with my mmp multiplatform series
applied, which at some point gained the fixup.

This fixes the three broken files.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 61ae76563ec3 ("clk: Remove clk.h from clk-provider.h")

diff --git a/drivers/clk/mmp/clk-mmp2.c b/drivers/clk/mmp/clk-mmp2.c
index 09d2832fbd78..71fd29348f28 100644
--- a/drivers/clk/mmp/clk-mmp2.c
+++ b/drivers/clk/mmp/clk-mmp2.c
@@ -9,6 +9,7 @@
  * warranty of any kind, whether express or implied.
  */
 
+#include <linux/clk.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/spinlock.h>
diff --git a/drivers/clk/mmp/clk-pxa168.c b/drivers/clk/mmp/clk-pxa168.c
index 93e967c0f972..75244915df05 100644
--- a/drivers/clk/mmp/clk-pxa168.c
+++ b/drivers/clk/mmp/clk-pxa168.c
@@ -9,6 +9,7 @@
  * warranty of any kind, whether express or implied.
  */
 
+#include <linux/clk.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/spinlock.h>
diff --git a/drivers/clk/mmp/clk-pxa910.c b/drivers/clk/mmp/clk-pxa910.c
index 993abcdb32cc..37ba04ba1368 100644
--- a/drivers/clk/mmp/clk-pxa910.c
+++ b/drivers/clk/mmp/clk-pxa910.c
@@ -9,6 +9,7 @@
  * warranty of any kind, whether express or implied.
  */
 
+#include <linux/clk.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/spinlock.h>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1277840

FromStephen Boyd <sboyd@codeaurora.org>
Date2015-11-25 23:10 +0100
Message-ID<qyQqf-3L8-29@gated-at.bofh.it>
In reply to#1277838
On 11/25, Arnd Bergmann wrote:
> The common clk implementation for MMP broke without anyone noticing
> when we stopped including linux/clk.h from the clk-provider header.
> 
> This did not show up in the defconfig builds because those use the
> legacy MMP clk drivers, and it did not show up in my randconfig tests
> either because I was testing with my mmp multiplatform series
> applied, which at some point gained the fixup.
> 
> This fixes the three broken files.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Fixes: 61ae76563ec3 ("clk: Remove clk.h from clk-provider.h")
> 
> diff --git a/drivers/clk/mmp/clk-mmp2.c b/drivers/clk/mmp/clk-mmp2.c
> index 09d2832fbd78..71fd29348f28 100644
> --- a/drivers/clk/mmp/clk-mmp2.c

Applied to clk-fixes

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web