drbd: fix warning
commit0ddf72be4edbd7640b57c13161f71416df16ec11
authorAndrew Morton <akpm@linux-foundation.org>
Mon, 23 May 2011 22:29:32 +0000 (23 15:29 -0700)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Tue, 24 May 2011 08:38:33 +0000 (24 10:38 +0200)
tree5cef009715650da96a82f1b9d9afbd5843b5a105
parent9b2f61aec73dc9e735e247fd720c673b30999e7c
drbd: fix warning

In file included from drivers/block/drbd/drbd_main.c:54:                        drivers/block/drbd/drbd_int.h:1190: warning: parameter has incomplete type

Forward declarations of enums do not work.

Fix it unpleasantly by moving the prototype.

Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Lars Ellenberg <drbd-dev@lists.linbit.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_req.h