forked from Minki/linux
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>
This commit is contained in:
parent
4b7b948b1f
commit
6eb1c9496b
@ -29,6 +29,8 @@ obj-$(CONFIG_SFI) += sfi/
|
|||||||
# was used and do nothing if so
|
# was used and do nothing if so
|
||||||
obj-$(CONFIG_PNP) += pnp/
|
obj-$(CONFIG_PNP) += pnp/
|
||||||
obj-y += amba/
|
obj-y += amba/
|
||||||
|
|
||||||
|
obj-y += clk/
|
||||||
# Many drivers will want to use DMA so this has to be made available
|
# Many drivers will want to use DMA so this has to be made available
|
||||||
# really early.
|
# really early.
|
||||||
obj-$(CONFIG_DMADEVICES) += dma/
|
obj-$(CONFIG_DMADEVICES) += dma/
|
||||||
@ -142,8 +144,6 @@ obj-$(CONFIG_VHOST) += vhost/
|
|||||||
obj-$(CONFIG_VLYNQ) += vlynq/
|
obj-$(CONFIG_VLYNQ) += vlynq/
|
||||||
obj-$(CONFIG_STAGING) += staging/
|
obj-$(CONFIG_STAGING) += staging/
|
||||||
obj-y += platform/
|
obj-y += platform/
|
||||||
#common clk code
|
|
||||||
obj-y += clk/
|
|
||||||
|
|
||||||
obj-$(CONFIG_MAILBOX) += mailbox/
|
obj-$(CONFIG_MAILBOX) += mailbox/
|
||||||
obj-$(CONFIG_HWSPINLOCK) += hwspinlock/
|
obj-$(CONFIG_HWSPINLOCK) += hwspinlock/
|
||||||
|
Loading…
Reference in New Issue
Block a user