On Mon, 2012-04-16 at 12:50 -0700, Randy Dunlap wrote: > From: Randy Dunlap > > 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 Pushed to l2-mtd.git, thanks! -- Best Regards, Artem Bityutskiy