From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lpp01m010-f49.google.com ([209.85.215.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SN4DO-0004WU-U0 for linux-mtd@lists.infradead.org; Wed, 25 Apr 2012 15:33:11 +0000 Received: by lagy4 with SMTP id y4so217817lag.36 for ; Wed, 25 Apr 2012 08:33:07 -0700 (PDT) Subject: Re: [PATCH -next] mtd: fix sbc2_flash build when PCI is not enabled From: Artem Bityutskiy To: Randy Dunlap Date: Wed, 25 Apr 2012 18:33:02 +0300 In-Reply-To: <4F8C780D.9010702@xenotime.net> References: <20120416161121.261ba4e7e38989173accfb16@canb.auug.org.au> <4F8C780D.9010702@xenotime.net> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-JuECyCsuI5LDt9lG4JKJ" Message-ID: <1335367986.6356.12.camel@koala> Mime-Version: 1.0 Cc: Stephen Rothwell , Tim Hockin , LKML , linux-next@vger.kernel.org, linux-mtd@lists.infradead.org, Andrew Morton , David Woodhouse Reply-To: dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --=-JuECyCsuI5LDt9lG4JKJ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2012-04-16 at 12:50 -0700, Randy Dunlap wrote: > From: Randy Dunlap >=20 > sbc2_flash.c is a PCI driver, but its build fails when CONFIG_PCI > is not enabled, so make it depend on PCI. >=20 > drivers/mtd/maps/scb2_flash.c:237:1: warning: data definition has no type= or storage class > drivers/mtd/maps/scb2_flash.c:237:1: warning: type defaults to 'int' in d= eclaration of 'module_pci_driver' > drivers/mtd/maps/scb2_flash.c:237:1: warning: parameter names (without ty= pes) in function declaration >=20 > Signed-off-by: Randy Dunlap Pushed to l2-mtd.git, thanks! --=20 Best Regards, Artem Bityutskiy --=-JuECyCsuI5LDt9lG4JKJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAABAgAGBQJPmBkuAAoJEJtuLFy+q7feiIgIALof73CXbgSHfMUNoGAFrBRJ ngSktsu+8fR32v5EUadpPYYtgHL1wEg+BuRDWsPaEH1mLsSVEHp8VKRDiKRMrbjP gqk5o8sxtv0WSdhL6gJJyKv0Sk4ac0RRGLZU/ql1ehO90K+kmy8Euzq8t0PJ1D+o gtCSft8lG+GzhSTi2s5xeZIQzEhJF8strXtYqjmKSlaLS8JAPmKT99kJUVmA7p0W 7SKmpJEyduPEWo6droAJmI3klQN9gP6w6PaOGrhgmdJLmBY+7IYcMgU4WjCHpOWi OZgwotr+bKL21DCOCa+8wuWtzUD0iAiIf6B3kyNzmp5SAYqwSL65RBAprI0TDyc= =apWk -----END PGP SIGNATURE----- --=-JuECyCsuI5LDt9lG4JKJ--