summaryrefslogtreecommitdiffstats
path: root/drivers/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-18 12:16:44 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-23 07:00:04 -0400
commit6eb1c9496b81680f2cd2e0eda06c531317e2e28d (patch)
treedb3bd648bc83ccbf02761a9d7e414c2f9a13b2c2 /drivers/Makefile
parent4b7b948b1fcde59d9a0085237be0060e825216fc (diff)
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@socionext.com> Acked-by: Michael Turquette <mturquette@baylibre.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/Makefile')
-rw-r--r--drivers/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/Makefile b/drivers/Makefile
index 53abb4a5f736..f0afdfb3c7df 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -29,6 +29,8 @@ obj-$(CONFIG_SFI) += sfi/
29# was used and do nothing if so 29# was used and do nothing if so
30obj-$(CONFIG_PNP) += pnp/ 30obj-$(CONFIG_PNP) += pnp/
31obj-y += amba/ 31obj-y += amba/
32
33obj-y += clk/
32# Many drivers will want to use DMA so this has to be made available 34# Many drivers will want to use DMA so this has to be made available
33# really early. 35# really early.
34obj-$(CONFIG_DMADEVICES) += dma/ 36obj-$(CONFIG_DMADEVICES) += dma/
@@ -142,8 +144,6 @@ obj-$(CONFIG_VHOST) += vhost/
142obj-$(CONFIG_VLYNQ) += vlynq/ 144obj-$(CONFIG_VLYNQ) += vlynq/
143obj-$(CONFIG_STAGING) += staging/ 145obj-$(CONFIG_STAGING) += staging/
144obj-y += platform/ 146obj-y += platform/
145#common clk code
146obj-y += clk/
147 147
148obj-$(CONFIG_MAILBOX) += mailbox/ 148obj-$(CONFIG_MAILBOX) += mailbox/
149obj-$(CONFIG_HWSPINLOCK) += hwspinlock/ 149obj-$(CONFIG_HWSPINLOCK) += hwspinlock/