From patchwork Thu May 5 07:57:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 9021431 Return-Path: X-Original-To: patchwork-linux-clk@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C7A1CBF29F for ; Thu, 5 May 2016 07:57:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BCF6B203F7 for ; Thu, 5 May 2016 07:57:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ED601203B8 for ; Thu, 5 May 2016 07:57:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755180AbcEEH5f (ORCPT ); Thu, 5 May 2016 03:57:35 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:19083 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753216AbcEEH5e (ORCPT ); Thu, 5 May 2016 03:57:34 -0400 Received: from beagle.diag.org (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id u457uhR6015777; Thu, 5 May 2016 16:56:44 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com u457uhR6015777 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1462435005; bh=e71ATNFkAi1nmSX5gCJYqVS5YNOP0V1nf0O/1T0SBAc=; h=From:To:Cc:Subject:Date:From; b=UZgNWAvxFryvYlRIrihgXDdTEdjLF+NZQzmMWbKWi8iB90xSnpnky19wQ9+8A3+ig bfSXIj4AuTqWgfCDk4226LuyMuB/aAN00CrH8aM9l/j8Als3RXnaPHhS9+xwkwsEiS +xzSZjdKRCBFJeQ94espmWf2OAWPwOdNlTZS19FuwDRHXstP1FvyfzUVI+uAjr2ItK XmgHWohM13MqRAxd5feGLG17cP/nv96B2Zks2qDB3zMs0SLory7KvD3yQY/BLnlE6X i2bESyW2L/6WUy1TLgHBtTxkJuBimJpb7jzgUxsSwZeGzGwY+nUjr5Q14fSagmd7r6 +qpAdabq8wQog== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-clk@vger.kernel.org Cc: Masahiro Yamada , Jay Sternberg , Jens Axboe , linux-kernel@vger.kernel.org, Dan Williams , =?UTF-8?q?Matias=20Bj=C3=B8rling?= , Krzysztof Kozlowski , Greg Kroah-Hartman , Alexander Shishkin , Valentin Rothberg Subject: [PATCH] clk: probe common clock drivers earlier Date: Thu, 5 May 2016 16:57:17 +0900 Message-Id: <1462435037-27979-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Spam-Status: No, score=-8.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Michael Turquette --- 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/