From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sedat Dilek Subject: Re: [next] i2c-designware build errors Date: Thu, 17 Mar 2011 12:15:04 +0100 Message-ID: References: Reply-To: sedat.dilek-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Geert Uytterhoeven Cc: Dirk Brandewie , Ben Dooks , linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Linux-Next , Randy Dunlap , Stephen Rothwell List-Id: linux-next.vger.kernel.org On Thu, Mar 17, 2011 at 11:58 AM, Geert Uytterhoeven wrote: > http://kisskb.ellerman.id.au/kisskb/buildresult/4002561/: > > drivers/i2c/busses/i2c-designware-core.c:321: error: implicit > declaration of function 'mdelay' > drivers/i2c/busses/i2c-designware-pcidrv.c:256: error: implicit > declaration of function 'pci_request_region' > drivers/i2c/busses/i2c-designware-pcidrv.c:338: error: implicit > declaration of function 'pci_release_region' > > i2c-designware-core.c needs to include > CONFIG_I2C_DESIGNWARE_PCI should depend on CONFIG_PCI > > Gr{oetje,eeting}s, > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linu= x-m68k.org > Just FYI: Randy sent already a patch for this issue "[PATCH -next] i2c: designware-pcidrv depends on PCI" [1]. - Sedat - [1] http://marc.info/?l=3Dlinux-next&m=3D130030077521605&w=3D2