Received: by 10.223.176.46 with SMTP id f43csp1425245wra; Fri, 19 Jan 2018 11:20:38 -0800 (PST) X-Google-Smtp-Source: ACJfBovtwUdjKD472ZcExdabKb+A2DvfFNLWE6XxCjG0MjpFX8EI81PZ1HjGEXdZeExfxDznbMET X-Received: by 10.98.93.65 with SMTP id r62mr39058126pfb.55.1516389638499; Fri, 19 Jan 2018 11:20:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516389638; cv=none; d=google.com; s=arc-20160816; b=pcveQNUjQCGwyO6e+6AlpKbAX6R4ui7h8phIBMYrcsBO8jNIJSQZi9vzd88wgl6SHd nzN3u8L+s69MhDT8mnw7J44JENBYFOmGk8iGHhcFLbXOsVdY1/tDlGGDksph+tEJUhd8 wDZmo9KjHk+6OgWo8XXO0TzkiMAtwZDKm6oZDgI4v12y1v4EuV/1PzrY9q4xksGbM1U0 T0i8GutvsCDGV/EwvY7LtvOJu7jPR1n7g7BlqUjKGqL2JJRy+11CiXCoKx2Lfy0bl2P/ ra7F2N/+GeMV35kP5ag8tAYjszwzbXlT9REYYUfV2ef5n8D2kEVp8lTx9gsvCyUS6pJ7 Z5wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:subject :from:cc:to:dkim-signature:arc-authentication-results; bh=MI3OqFwessT6tBtPoOmCLfKj7HFRc7mjN7C8qeGN8i4=; b=IWUg/ObgLAE6xZijjblKgRGTVRXwnX3GyYs9h1douMcQVnF4FxDZgBl1w79R7m2NoS O6JkPpBrLscLESqATCl9nnOR1T4Pq9Yx8QDYK6ZGEj2I43R+sSqVStYW1IwywXQlzT9O tnNNSw1OSREw/uyOyCNTvf3itCF7tg27RZ3Cj29V1dI48VSFmkBACbyXajRzJ0bhbfrh p/IFZvjRNSscYkvxi4d0zywiKraYXj9+mmXLv4bxe27HAgJ7lDSse2PSI6rj9b1uXiPl k5tPS7Md3CVUjI4PcaVLoh9UtQAHgVOtGVlDL15WAchuRMJvOf2yCJtEArkm0dsytP6I HnEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=YA+BadNx; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w17si8957452pgm.363.2018.01.19.11.20.24; Fri, 19 Jan 2018 11:20:38 -0800 (PST) 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=fail header.i=@infradead.org header.s=merlin.20170209 header.b=YA+BadNx; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756254AbeASTTt (ORCPT + 99 others); Fri, 19 Jan 2018 14:19:49 -0500 Received: from merlin.infradead.org ([205.233.59.134]:57420 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755985AbeASTTn (ORCPT ); Fri, 19 Jan 2018 14:19:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=MI3OqFwessT6tBtPoOmCLfKj7HFRc7mjN7C8qeGN8i4=; b=YA+BadNx/UQUVlbxi6qgllFS94 lGTEF95DDWkz51+6wxd2Ndw5uFo/5qakYLAmwF8IVLVKjB50EDz4W01pPCuSdvefXIavIj92XXM8e Fa2Xtuo2SLgpBuMCU8PFyrh9mh0TFtgSEfgIYV1k8xuMyCbaW60cC9fnkRBe7Ebz+0KnzQbTTBm13 bpI2jh9gV5yPIvUx7K933QAiJ/bGYCBMiPGp6gOJ6ESCOjc/4jqyyGjb0vbHY+uw1CPjRM4KBMDQa qJ9Smqv5T6fPf237RXwkm4lgx9Zfb9pzRq50R3EV/Vo+Ulz3/AnQwY1CtK40+otgn0NPR2ul5fp5c 1AKApflQ==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=dragon.site) by merlin.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1eccCN-0000H4-7z; Fri, 19 Jan 2018 19:19:35 +0000 To: LKML Cc: Ingo Molnar , linux-c6x-dev@linux-c6x.org, Aurelien Jacquiot , Mark Salter , Fengguang Wu From: Randy Dunlap Subject: [PATCH] c6x: fix platforms/plldata.c get_coreid build error Message-ID: <2fe9d4b5-ad6b-8d64-9dc5-4440e23948fc@infradead.org> Date: Fri, 19 Jan 2018 11:19:33 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap Fix build error reported by the 0day bot by including the header file for that macro. Fixes this build error: (should fix; not tested) arch/c6x/platforms/plldata.c: In function 'c6472_setup_clocks': arch/c6x/platforms/plldata.c:279:33: error: implicit declaration of function 'get_coreid'; did you mean 'get_order'? [-Werror=implicit-function-declaration] c6x_core_clk.parent = &sysclks[get_coreid() + 1]; Reported-by: Fengguang Wu Cc: Mark Salter Cc: Aurelien Jacquiot Cc: linux-c6x-dev@linux-c6x.org Cc: Ingo Molnar Signed-off-by: Randy Dunlap --- arch/c6x/platforms/plldata.c | 1 + 1 file changed, 1 insertion(+) --- lnx-415-rc8.orig/arch/c6x/platforms/plldata.c +++ lnx-415-rc8/arch/c6x/platforms/plldata.c @@ -19,6 +19,7 @@ #include #include +#include #include /*