From patchwork Tue Jun 11 11:06:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 166395 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp2207745ilk; Tue, 11 Jun 2019 04:06:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqxeVbl5p7rK2716UTnNhVT5lz6Nm6MnJ0en10JYLeHp9T7HgD1Z4R3EGM8qbmEqSCiDR1QX X-Received: by 2002:a17:902:6bc8:: with SMTP id m8mr73861237plt.227.1560251201812; Tue, 11 Jun 2019 04:06:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560251201; cv=none; d=google.com; s=arc-20160816; b=wn64lnU4sJ0DduwBzScmIZDA8YFb8OX904/RkOTvGDkrqw2cY4kbZQrKSvTcw8v3Nv 9u50936N7JuQ13y0MU4ChtmtLe+5PczRiMPfUymvy3XPRgjANVuigbJpsG7mrQ53RUQt 5mIedpkSC1FFUM0Bm4D8sCeLdNjQCa6lVd6pOPj6nw+QGqo73cvHn5ZE+kTmQm3xL8eZ KzK9hift/Hswgl7qt12oSyn9ljLGGy7KfOurn/+sqrl7Hc6Wbii/54aVUHBsmeHfZepM 90bN9Pl69tLWgewZvwyZwZUQcufd/G5XUaywVHRrVsd5b91p4J5AfB+cf/D3e8uSlLfv 2dbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=I9BAb2CnQkexQ6+MTbnxM1piZ7sd2DzidzQh9fUybwY=; b=tDLYBEdyeiShAgTVJnWah0JAAfaLf9dR0O7e38TLNOMUbLbx3RyIqESxSmL+Z24MHr oC3Y3hGlAzSbmoGMHOYqJ9Wcj2xJiaguDITkxfDT084JMjU0+pl7f54x+ravn93Me52l mAsXkalCz8NjhTwhqu403y1Hw8S5VwmHDI6OnCY+rV15jEYa42XN0YYBsm78lm3IxQPj nhpM4OoOHyTpwdGIfinLBn7/ET1IrkYR9mBWLjLvKwxVXc1eSwOZ7Ds5QW7V4Q0O+HkT 3qRMwf1IPyS1FwXyp2sHZQYHcjVIHtBlnwcPAhPXTyy0d2KeEREkexIIlB/dI5dNXsLI Xb/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KvHnPTFH; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z61si13282572plb.19.2019.06.11.04.06.40; Tue, 11 Jun 2019 04:06:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KvHnPTFH; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727641AbfFKLGk (ORCPT + 8 others); Tue, 11 Jun 2019 07:06:40 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:50092 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727278AbfFKLGk (ORCPT ); Tue, 11 Jun 2019 07:06:40 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x5BB6Qjg115824; Tue, 11 Jun 2019 06:06:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1560251186; bh=I9BAb2CnQkexQ6+MTbnxM1piZ7sd2DzidzQh9fUybwY=; h=From:To:CC:Subject:Date; b=KvHnPTFH6ib8h2aJrX6N93zgm8KCeqiKCuKJ0ui8eYVScBtB6P89yBniberuoiiS/ inxXARsdvQSNM/WWzZRNhdyX3670Ew7qqH7mNJB3A9DR9zVBS2c4AAeLRco7hOIpp7 fvZaeo7VwlOHHczRw7RNfH3xcFk9aVMnrwAO9qws= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x5BB6Qmk022666 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 11 Jun 2019 06:06:26 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 11 Jun 2019 06:06:26 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Tue, 11 Jun 2019 06:06:26 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id x5BB6P5r041192; Tue, 11 Jun 2019 06:06:26 -0500 From: Grygorii Strashko To: "David S. Miller" , Stephen Rothwell CC: Sekhar Nori , , , , , Grygorii Strashko Subject: [PATCH net-next] net: ethernet: ti: cpts: fix build failure for powerpc Date: Tue, 11 Jun 2019 14:06:17 +0300 Message-ID: <20190611110617.8994-1-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add dependency to TI CPTS from Common CLK framework COMMON_CLK to fix allyesconfig build for Powerpc: drivers/net/ethernet/ti/cpts.c: In function 'cpts_of_mux_clk_setup': drivers/net/ethernet/ti/cpts.c:567:2: error: implicit declaration of function 'of_clk_parent_fill'; did you mean 'of_clk_get_parent_name'? [-Werror=implicit-function-declaration] of_clk_parent_fill(refclk_np, parent_names, num_parents); ^~~~~~~~~~~~~~~~~~ of_clk_get_parent_name Fixes: a3047a81ba13 ("net: ethernet: ti: cpts: add support for ext rftclk selection") Reported-by: Stephen Rothwell Signed-off-by: Grygorii Strashko --- drivers/net/ethernet/ti/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/drivers/net/ethernet/ti/Kconfig b/drivers/net/ethernet/ti/Kconfig index bd05a977ee7e..a800d3417411 100644 --- a/drivers/net/ethernet/ti/Kconfig +++ b/drivers/net/ethernet/ti/Kconfig @@ -60,6 +60,7 @@ config TI_CPSW config TI_CPTS bool "TI Common Platform Time Sync (CPTS) Support" depends on TI_CPSW || TI_KEYSTONE_NETCP || COMPILE_TEST + depends on COMMON_CLK depends on POSIX_TIMERS ---help--- This driver supports the Common Platform Time Sync unit of