Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp674291ybx; Fri, 1 Nov 2019 09:26:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqz140koK/ydI7xWPzC6MuYrjfE9cyfszcDGC8j2dQBsAJket3EkuaagsVkaJ9NlV8UdmwHj X-Received: by 2002:a50:9353:: with SMTP id n19mr13698021eda.258.1572625563770; Fri, 01 Nov 2019 09:26:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572625563; cv=none; d=google.com; s=arc-20160816; b=gwBFTxjGUA9suPfDlWJ3KBG/+Ge2feDF3L07kN0Tw2YExAPjroNPwbDjQr25d+O4V5 H3KOwgbcQwRkeRU4o9djwidTo+a3/J0OkbV+jifKt6hyCL7g6o4E+26MN1I5d8UxPXHn 2Ie4erdNWDv3RsCbYhFz0EjzipfdqCVGosEdvuiiXJVwfhFX9Uql3ikkAJr8w4pF0jYQ 79CEhB5wX++OrgUznPCLW7XbSmbXA1bv3JXFDt8fYzz83OooNL3QTdfLzuDtTmoDH3qR FN6n1e2tJQ0/i5MeEjyTKWitvpT80MzOKeHeINMZkuxkpLRT6ZmCBH0LK1XcV+UG9lKp r1nA== 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:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=zDfTuyr5rEX4zI99jRtwwUmmmD2R9ZF+lJ3geVUTGqg=; b=hXKAjfX383+S/No9E8RmiSasBBbo2y+zM1TCyN1EZEao81eolQx+MxgxQf4CbJ1Qyu G7Knx2ZC7E8s+EVx3wBsjyrlOYfccEfh4YJZH+ocWoYPFTMyktfo29XlztpYFzFX3pN2 0twIjbDyNdyBHUiQKuM7xw//3JxOL9aAT9pArPmMWfEfjaSIa9DwjCXlltDhF8A2VnCl DCguG6MFBWyON0gFRVOz+2GP/Gbq6zdj7YkMEPlwwsZ38Gmnl99+tf3t4HMPt9L7zuRb uRHkMIVKFgIGPsOtd2TEX3uXS/Eq2b44fpoGtqsXBWC0iTVWjQRGFYQQXkSsx15X6u7z WTog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=Qh2apHPi; 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 18si6117342ejz.321.2019.11.01.09.25.39; Fri, 01 Nov 2019 09:26:03 -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=@c-s.fr header.s=mail header.b=Qh2apHPi; 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 S1728278AbfKAQTj (ORCPT + 99 others); Fri, 1 Nov 2019 12:19:39 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:2613 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726229AbfKAQTj (ORCPT ); Fri, 1 Nov 2019 12:19:39 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 474S7r1fhQz9v2yk; Fri, 1 Nov 2019 17:19:36 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=Qh2apHPi; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id LL34SHhx5NAd; Fri, 1 Nov 2019 17:19:36 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 474S7r0Vhdz9v2yj; Fri, 1 Nov 2019 17:19:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1572625176; bh=zDfTuyr5rEX4zI99jRtwwUmmmD2R9ZF+lJ3geVUTGqg=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=Qh2apHPiLmfs6EJags73uaZqx7IGD2FVk7wvpRg1Xm9W8sHg4b8c0XYoz89a/MRlq ifUiSWAlsgpiZgs2eFg46/a/REe+tZT7GJvh/RMS1qeGrUk0/VtRCaLsvr61qV3h9f 2IebLlE11RurHHXZJeawbhGKSNai0y6xorR+vquA= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 9F8768B8F6; Fri, 1 Nov 2019 17:19:37 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id ornw-bnFdm4u; Fri, 1 Nov 2019 17:19:37 +0100 (CET) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 3884C8B7C2; Fri, 1 Nov 2019 17:19:37 +0100 (CET) Subject: Re: [PATCH v3 28/36] serial: ucc_uart: explicitly include soc/fsl/cpm.h To: Rasmus Villemoes , Qiang Zhao , Li Yang Cc: linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Scott Wood , linux-serial@vger.kernel.org References: <20191018125234.21825-1-linux@rasmusvillemoes.dk> <20191101124210.14510-1-linux@rasmusvillemoes.dk> <20191101124210.14510-29-linux@rasmusvillemoes.dk> From: Christophe Leroy Message-ID: Date: Fri, 1 Nov 2019 17:19:37 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191101124210.14510-29-linux@rasmusvillemoes.dk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 01/11/2019 à 13:42, Rasmus Villemoes a écrit : > This driver uses #defines from soc/fsl/cpm.h, so instead of relying on > some other header pulling that in, do that explicitly. This is > preparation for allowing this driver to build on ARM. > UCC are only on QE. CPM has SCCs. instead. So this driver shouldn't need cpm.h Christophe > Signed-off-by: Rasmus Villemoes > --- > drivers/tty/serial/ucc_uart.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/tty/serial/ucc_uart.c b/drivers/tty/serial/ucc_uart.c > index a0555ae2b1ef..7e802616cba8 100644 > --- a/drivers/tty/serial/ucc_uart.c > +++ b/drivers/tty/serial/ucc_uart.c > @@ -32,6 +32,7 @@ > #include > > #include > +#include > #include > > /* >