From patchwork Tue Jun 11 11:16:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 166402 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp2219753ilk; Tue, 11 Jun 2019 04:16:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqwg1YyGtuXhKLiY2v1t+OwD7ajaGZJP9pENpZULcmNrT7MgdAK9Tbro08wfKUXN64nsdtKo X-Received: by 2002:a63:2848:: with SMTP id o69mr19892477pgo.258.1560251817459; Tue, 11 Jun 2019 04:16:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560251817; cv=none; d=google.com; s=arc-20160816; b=hI5N9oePqZjMOjiB33KU8rHnwl+PYe4ghQxa6VtO9gHdZVoYErGoewgVQZVNM6T65t vronqFifB1jil9HwhTC+GJCTUUvd343380n8xs0HDBDh2MncBv+5IurLg4RVJx0e0Zqp qeTzyRM56rPMHOYNRdc67gUE0F3hIr1rxvtFsYuVPZ7XGxdPGZSN+OotsHLkY1WPJz66 /QnT0jqgtdRZ5iV92+UlIFg1jZFCY4RsBV5VEZt3FZCfDU/b0N0iTkI6tkaBQvbS0OQ7 Dip2EfLTPffm0X3xnUSVe5rsazjrN4oHmJLLPmkJMo3RtfO9ol3G+4tLDBJjAJHhO5eo HwNg== 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=ymb68AYJr6qOFYNX8+pGpasWhJJh3G+q893ggNbXIfs=; b=MikDJPP1vK0XI9brwhTte+lvKg7iomMgBZSLs9K8cjOAxhDRgp5Nm82YcbS/SclQJw 7X1xNN1CjeUYeQxUpG8uzzX8bJjO477GJDZT8/aDXXuwFIe7UAFbmkQZEpXJWGaQiEzq XePm1eSu18KRMNASjK90zJOvwnIIy7BKNmOCb89ggGJL+qHB1eCavmvoCqbwFOCLNeUi clmNlPkcZ0a+fv8n1mSf6HgRfNUFMjdpqmEDpXQqQJzSk/KDg8dpTDFTp3VlCMzqy88f FkhVFf1tAy6zudX15ChvqPy5gTdummE6DjSyi0LWIxbUJn79vZ4mGT/Nsd6Kpd8aSQU9 1S0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ieZyKDuE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 t4si8889615pgj.219.2019.06.11.04.16.57; Tue, 11 Jun 2019 04:16:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=ieZyKDuE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S2389211AbfFKLQz (ORCPT + 30 others); Tue, 11 Jun 2019 07:16:55 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:40286 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387519AbfFKLQz (ORCPT ); Tue, 11 Jun 2019 07:16:55 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x5BBGg0A111081; Tue, 11 Jun 2019 06:16:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1560251802; bh=ymb68AYJr6qOFYNX8+pGpasWhJJh3G+q893ggNbXIfs=; h=From:To:CC:Subject:Date; b=ieZyKDuEirJDSUPqZk+s9RPf0XuZbf/3ldOM3ZPQ37TjF6kTSnuKI2/qg9y5CA3P8 bEeRcaY4IzLCI/wrF7VA1/24nnbRVQx1ts/2CO92ZlbOVaTWfH+Ug2zrzm++lYMZ/0 wwNhWAxvQ9Rl/6hnW4/stGmL5zt1GSGagn9zYQHU= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x5BBGg7F110971 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 11 Jun 2019 06:16:42 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE112.ent.ti.com (157.170.170.23) 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:16:42 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE108.ent.ti.com (157.170.170.38) 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:16:41 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id x5BBGesC057695; Tue, 11 Jun 2019 06:16:41 -0500 From: Grygorii Strashko To: "David S. Miller" , Stephen Rothwell , CC: Sekhar Nori , , , , Grygorii Strashko Subject: [RESEND PATCH net-next] net: ethernet: ti: cpts: fix build failure for powerpc Date: Tue, 11 Jun 2019 14:16:32 +0300 Message-ID: <20190611111632.9444-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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 --- Resending due to missed netdev@vger.kernel.org list in prev post. 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