From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752962AbeEPKNN (ORCPT ); Wed, 16 May 2018 06:13:13 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:8968 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752387AbeEPKNL (ORCPT ); Wed, 16 May 2018 06:13:11 -0400 Subject: Re: [PATCH 05/17] powerpc: move io mapping functions into ioremap.c To: Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , aneesh.kumar@linux.vnet.ibm.com Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org References: <87y3gqrarj.fsf@concordia.ellerman.id.au> From: Christophe LEROY Message-ID: <63426c6c-2b89-30a8-d68a-ca9ee0530d27@c-s.fr> Date: Wed, 16 May 2018 12:13:09 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <87y3gqrarj.fsf@concordia.ellerman.id.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 11/05/2018 à 08:01, Michael Ellerman a écrit : > Christophe Leroy writes: > [...] >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> + >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include > > I needed: > > +#include Oops, yes it was added in the following patch. Ok I move it one patch back. Thanks Christophe > > To fix: > > ../arch/powerpc/mm/ioremap.c: In function ‘ioremap_wc’: > ../arch/powerpc/mm/ioremap.c:290:6: error: ‘ppc_md’ undeclared (first use in this function) > if (ppc_md.ioremap) > ^~~~~~ > > cheers >