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


Groups > linux.kernel > #1394915 > unrolled thread

[PATCH] clk: probe common clock drivers earlier

Started byMasahiro Yamada <yamada.masahiro@socionext.com>
First post2016-05-05 10:00 +0200
Last post2016-05-05 10:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] clk: probe common clock drivers earlier Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-05-05 10:00 +0200

#1394915 — [PATCH] clk: probe common clock drivers earlier

FromMasahiro Yamada <yamada.masahiro@socionext.com>
Date2016-05-05 10:00 +0200
Subject[PATCH] clk: probe common clock drivers earlier
Message-ID<rvmmt-3Sg-5@gated-at.bofh.it>
Several SoCs implement platform drivers for clocks rather than
CLK_OF_DECLARE().  Clocks should come earlier because they are
prerequisites for many of other drivers.  It will help to mitigate
EPROBE_DEFER issues.

Also, drop the comment since it does not look valuable.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/Makefile b/drivers/Makefile
index 8f5d076..a2a4922 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -44,6 +44,7 @@ obj-$(CONFIG_REGULATOR)		+= regulator/
 
 # reset controllers early, since gpu drivers might rely on them to initialize
 obj-$(CONFIG_RESET_CONTROLLER)	+= reset/
+obj-y				+= clk/
 
 # tty/ comes before char/ so that the VT console is the boot-time
 # default.
@@ -141,8 +142,6 @@ obj-$(CONFIG_VHOST_RING)	+= vhost/
 obj-$(CONFIG_VLYNQ)		+= vlynq/
 obj-$(CONFIG_STAGING)		+= staging/
 obj-y				+= platform/
-#common clk code
-obj-y				+= clk/
 
 obj-$(CONFIG_MAILBOX)		+= mailbox/
 obj-$(CONFIG_HWSPINLOCK)	+= hwspinlock/
-- 
1.9.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web