diff options
| author | Frederik Deweerdt <deweerdt@free.fr> | 2006-10-02 09:42:25 +0100 |
|---|---|---|
| committer | David Woodhouse <dwmw2@infradead.org> | 2006-10-02 09:42:25 +0100 |
| commit | 553a8012088b3452c7d66ff60d2d06ad0c9bea00 (patch) | |
| tree | 3f3b25ad7208f505cf0babb4023035daa7d28907 /kernel/rtmutex-debug.c | |
| parent | 9a292308255ad381dd74541be468c4aec240a615 (diff) | |
| download | olio-linux-3.10-553a8012088b3452c7d66ff60d2d06ad0c9bea00.tar.xz olio-linux-3.10-553a8012088b3452c7d66ff60d2d06ad0c9bea00.zip | |
[MTD] fix nftl_write warning
Building 2.6.18-mm2 issues the following warning if CONFIG_NFTL_RW is not set:
CC [M] drivers/mtd/nftlcore.o
drivers/mtd/nftlcore.c:183: warning: 'nftl_write' defined but not used
The following patch only compiles nftl_write if CONFIG_NFTL_RW is set.
Signed-off-by: Frederik Deweerdt <frederik.deweerdt@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'kernel/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions