diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2012-04-16 21:50:37 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-05-14 05:52:16 +0200 |
commit | 47d0505bdba39f3bf247b5d57d94b4a5fa8ae475 (patch) | |
tree | 3823024ea0c643f2ff3bf92bf5ea65b97dd45a89 /kernel/rcutiny.c | |
parent | mtd: omap2: fix resource leak in prefetch-busy path (diff) | |
download | linux-47d0505bdba39f3bf247b5d57d94b4a5fa8ae475.tar.xz linux-47d0505bdba39f3bf247b5d57d94b4a5fa8ae475.zip |
mtd: fix scb2_flash build when PCI is not enabled
scb2_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>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'kernel/rcutiny.c')
0 files changed, 0 insertions, 0 deletions