[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1474215404-13433-1-git-send-email-yamada.masahiro@socionext.com>
Date: Mon, 19 Sep 2016 01:16:44 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Greg KH <gregkh@...uxfoundation.org>, linux-kernel@...r.kernel.org
Cc: linux-clk@...r.kernel.org,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Jay Sternberg <jay.e.sternberg@...el.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
"Andrew F. Davis" <afd@...com>, Jens Axboe <axboe@...com>,
Dan Williams <dan.j.williams@...el.com>,
Sebastian Reichel <sre@...nel.org>,
Matias Bjørling <m@...rling.me>,
Krzysztof Kozlowski <krzk@...nel.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Subject: [RESEND PATCH v2] clk: probe common clock drivers earlier
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@...ionext.com>
Acked-by: Michael Turquette <mturquette@...libre.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
Powered by blists - more mailing lists