]> Pileus Git - ~andy/linux/commit
cciss: fix compile issue
authorJens Axboe <jaxboe@fusionio.com>
Fri, 6 May 2011 14:27:00 +0000 (08:27 -0600)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 6 May 2011 14:27:00 +0000 (08:27 -0600)
commitedc83d47a9928281ecf6fb709753edb3c58ae7f1
tree07f6c65a492ca04c67967142a0eb176e20bbf77f
parent8a4ec67bd5648beb09d7db988a75835b740e950d
cciss: fix compile issue

drivers/block/cciss.c: In function ‘cciss_send_reset’:
drivers/block/cciss.c:2515:2: error: implicit declaration of function ‘fill_cmd’
drivers/block/cciss.c: At top level:
drivers/block/cciss.c:2531:12: error: conflicting types for ‘fill_cmd’
drivers/block/cciss.c:2534:1: note: an argument type that has a default promotion can’t match an empty parameter name list declaration
drivers/block/cciss.c:2515:18: note: previous implicit declaration of ‘fill_cmd’ was here
make[1]: *** [drivers/block/cciss.o] Error 1
make: *** [drivers/block/cciss.o] Error 2

Move fill_cmd() to above where it is first used.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/cciss.c