Messages in this thread | | | Subject | Re: [PATCH -next] mtd: fix sbc2_flash build when PCI is not enabled | From | Artem Bityutskiy <> | Date | Wed, 25 Apr 2012 18:33:02 +0300 |
| |
On Mon, 2012-04-16 at 12:50 -0700, Randy Dunlap wrote: > From: Randy Dunlap <rdunlap@xenotime.net> > > sbc2_flash.c is a PCI driver, but its build fails when CONFIG_PCI > is not enabled, so make it depend on PCI. > > 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 declaration of 'module_pci_driver' > drivers/mtd/maps/scb2_flash.c:237:1: warning: parameter names (without types) in function declaration > > Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Pushed to l2-mtd.git, thanks!
-- Best Regards, Artem Bityutskiy
[unhandled content-type:application/pgp-signature] | |