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


Groups > linux.kernel > #1485852 > unrolled thread

[RESEND PATCH v2] clk: probe common clock drivers earlier

Started byMasahiro Yamada <yamada.masahiro@socionext.com>
First post2016-09-18 18:20 +0200
Last post2016-09-18 18:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [RESEND PATCH v2] clk: probe common clock drivers earlier Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-09-18 18:20 +0200

#1485852 — [RESEND PATCH v2] clk: probe common clock drivers earlier

FromMasahiro Yamada <yamada.masahiro@socionext.com>
Date2016-09-18 18:20 +0200
Subject[RESEND PATCH v2] clk: probe common clock drivers earlier
Message-ID<siMYW-1Sr-7@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 carry much value.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Michael Turquette <mturquette@baylibre.com>
---

Changes in v2:
  - Move clk/ even earlier.
    (above dma/ since many of DMA drivers use clk.)

 drivers/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/Makefile b/drivers/Makefile
index 53abb4a..f0afdfb 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -29,6 +29,8 @@ obj-$(CONFIG_SFI)		+= sfi/
 # was used and do nothing if so
 obj-$(CONFIG_PNP)		+= pnp/
 obj-y				+= amba/
+
+obj-y				+= clk/
 # Many drivers will want to use DMA so this has to be made available
 # really early.
 obj-$(CONFIG_DMADEVICES)	+= dma/
@@ -142,8 +144,6 @@ obj-$(CONFIG_VHOST)		+= 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