android_kernel_xiaomi_sm8350/drivers/mtd
Adrian Bunk 1ef93a0f66 [MTD] SSFDC must depend on BLOCK
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: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-10-09 07:25:28 +01:00
..
chips Fix several typos in drivers/ 2006-10-03 22:31:37 +02:00
devices [PATCH] BLOCK: Make it possible to disable the block layer [try #6] 2006-09-30 20:52:31 +02:00
maps fix file specification in comments 2006-10-03 23:01:26 +02:00
nand Fix several typos in drivers/ 2006-10-03 22:31:37 +02:00
onenand Fix several typos in drivers/ 2006-10-03 22:31:37 +02:00
afs.c
cmdlinepart.c
ftl.c
inftlcore.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
inftlmount.c [MTD] Rework the out of band handling completely 2006-05-29 15:06:51 +02:00
Kconfig [MTD] SSFDC must depend on BLOCK 2006-10-09 07:25:28 +01:00
Makefile [MTD] Add SSFDC (SmartMedia) read-only translation layer 2006-09-22 11:01:37 +01:00
mtd_blkdevs.c [MTD] fix printk warning 2006-10-01 17:57:26 +01:00
mtdblock_ro.c
mtdblock.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mtdchar.c [MTD] Use SEEK_{SET,CUR,END} instead of hardcoded values in mtdchar lseek() 2006-09-17 17:04:23 +01:00
mtdconcat.c [MTD] NAND Expose the new raw mode function and status info to userspace 2006-05-30 00:37:34 +02:00
mtdcore.c [MTD] Unlock NOR flash automatically where necessary 2006-09-22 10:07:08 +01:00
mtdpart.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nftlcore.c [MTD] fix nftl_write warning 2006-10-02 09:42:25 +01:00
nftlmount.c [MTD] Rework the out of band handling completely 2006-05-29 15:06:51 +02:00
redboot.c [MTD] Fix build warnings in RedBoot MTD partition parser. 2006-05-16 17:31:15 +01:00
rfd_ftl.c [MTD] RFD FTL: Be noisier, and don't assume block without RFD magic are erased 2006-05-17 12:45:34 +01:00
ssfdc.c [MTD] Whitespace cleanup in SSFDC driver. 2006-09-23 16:20:48 +01:00