1. 21 10月, 2006 8 次提交
  2. 09 10月, 2006 1 次提交
    • A
      [MTD] SSFDC must depend on BLOCK · 1ef93a0f
      Adrian Bunk 提交于
      This patch fixes the following compile error with
      CONFIG_SSFDC=m, CONFIG_BLOCK=n:
      
      <--  snip  -->
      
      ...
        CC [M]  drivers/mtd/mtd_blkdevs.o
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/mtd/mtd_blkdevs.c:40: warning: ‘struct request’ declared inside parameter list
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/mtd/mtd_blkdevs.c:40: warning: its scope is only this definition or declaration, which is probably not what you want
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/mtd/mtd_blkdevs.c: In function ‘do_blktrans_request’:
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/mtd/mtd_blkdevs.c:45: error: dereferencing pointer to incomplete type
      ...
      make[3]: *** [drivers/mtd/mtd_blkdevs.o] Error 1
      
      <--  snip  -->
      
      Bug report by Jesper Juhl.
      
      This patch also removes a pointless "default n" from the SSFDC option.
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      1ef93a0f
  3. 04 10月, 2006 31 次提交