]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
block: fix warning on compile with CONFIG_BLOCK
authorJens Axboe <jens.axboe@oracle.com>
Tue, 29 Jan 2008 13:08:06 +0000 (14:08 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 29 Jan 2008 20:55:14 +0000 (21:55 +0100)
struct io_context was not defined, just add an empty forward decl.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/linux/blkdev.h

index 71e7a847dffce22d7cedef1357df99d0cc5bbbbb..e18d4192f6e83992278f344ab7d4f7f885595dcd 100644 (file)
@@ -825,6 +825,7 @@ static inline void exit_io_context(void)
 {
 }
 
+struct io_context;
 static inline int put_io_context(struct io_context *ioc)
 {
        return 1;