Hi Linus,

 there is a warning in make docs and there is no documentation generated
for blk_init_queue because of another function declaration between the
comments and the definition .

This patch moves the declaration before the comments.

please apply . 


--- /usr/src/clean/linux-2.4/drivers/block/ll_rw_blk.c  Thu Nov 30 18:13:46 2000
+++ ll_rw_blk.c Fri Dec  1 14:23:50 2000
@@ -383,6 +383,8 @@
        spin_lock_init(&q->request_lock);
 }
 
+static int __make_request(request_queue_t * q, int rw, struct buffer_head * bh);
+
 /**
  * blk_init_queue  - prepare a request queue for use with a block device
  * @q:    The &request_queue_t to be initialised
@@ -416,7 +418,6 @@
  *    blk_init_queue() must be paired with a blk_cleanup-queue() call
  *    when the block device is deactivated (such as at module unload).
  **/
-static int __make_request(request_queue_t * q, int rw,  struct buffer_head * bh);
 void blk_init_queue(request_queue_t * q, request_fn_proc * rfn)
 {
        INIT_LIST_HEAD(&q->queue_head);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to