From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from imap.sh.mvista.com (unknown [63.81.120.155]) by ozlabs.org (Postfix) with ESMTP id DFBEB67BD9 for ; Wed, 6 Dec 2006 23:19:30 +1100 (EST) Message-ID: <4576B5AE.90508@ru.mvista.com> Date: Wed, 06 Dec 2006 15:21:02 +0300 From: Sergei Shtylyov MIME-Version: 1.0 To: Geoff Levand Subject: Re: [PATCH] powerpc: fix build error in rom.c References: <45760109.8030200@am.sony.com> In-Reply-To: <45760109.8030200@am.sony.com> Content-Type: text/plain; charset=us-ascii; format=flowed Cc: dwmw2@redhat.com, Paul Mackerras , linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hello. Geoff Levand wrote: > Add missing include in rom.c. Fixes this build error when CONFIG_MTD=y: > arch/powerpc/sysdev/rom.c:26: error: implicit declaration of function of_platform_device_create Uh oh, that's what happens when someone doesn't respin the patches quickly enough. Finally, the obsolete version has been committed -- it also misses one property in the node spec and "reg" was called "regs" there... > Signed-off-by: Geoff Levand > > --- > arch/powerpc/sysdev/rom.c | 1 + > 1 files changed, 1 insertion(+) > > --- linux-2.6.19.ppc64.orig/arch/powerpc/sysdev/rom.c > +++ linux-2.6.19.ppc64/arch/powerpc/sysdev/rom.c > @@ -9,6 +9,7 @@ > > #include > #include > +#include > > static int __init powerpc_flash_init(void) > { WBR, Sergei