summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2008-08-02 00:01:21 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-08-02 07:52:39 +0100
commitf1136d022af8f07a97f59c6d07483bdb82ffbd8e (patch)
tree459531ff8179263f50494ab040070ea609ebb5ff /firmware
parent759da9267177e5005c8f21e11d29d26f4f459744 (diff)
downloadop-kernel-dev-f1136d022af8f07a97f59c6d07483bdb82ffbd8e.zip
op-kernel-dev-f1136d022af8f07a97f59c6d07483bdb82ffbd8e.tar.gz
[MTD] Fix !CONFIG_BLOCK compile for mtdsuper.c
As reported by Adrian Bunk, commit d5686b444ff3f72808d2b3fbd58672a86cdf38e7 (switch mtd and dm-table to lookup_bdev()) causes the following compile error with CONFIG_BLOCK=n: CC drivers/mtd/mtdsuper.o drivers/mtd/mtdsuper.c: In function `get_sb_mtd': drivers/mtd/mtdsuper.c:184: error: implicit declaration of function 'lookup_bdev' drivers/mtd/mtdsuper.c:184: warning: assignment makes pointer from integer without a cast drivers/mtd/mtdsuper.c:197: error: implicit declaration of function 'bdput' make[3]: *** [drivers/mtd/mtdsuper.o] Error 1 Fix it by putting the block device lookup inside #ifdef CONFIG_BLOCK Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud