]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mmc: queue: rename mmc_request function
authorVenkatraman S <svenkatr@ti.com>
Fri, 13 Apr 2012 12:24:11 +0000 (17:54 +0530)
committerChris Ball <cjb@laptop.org>
Wed, 9 May 2012 14:08:54 +0000 (10:08 -0400)
The name mmc_request is used for both the issue function
and a data structure, which creates conflicts in symbol lookups
in editors. Rename the function to mmc_request_fn.

Signed-off-by: Venkatraman S <svenkatr@ti.com>
Reviewed-by: Namjae Jeon <linkinjeon@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/card/queue.c

index 996f8e36e23d8aa8bbf7c333fd6d6d56b8ec79ad..49af43c97323648f05b9a64cda779d06727424b9 100644 (file)
@@ -96,7 +96,7 @@ static int mmc_queue_thread(void *d)
  * on any queue on this host, and attempt to issue it.  This may
  * not be the queue we were asked to process.
  */
-static void mmc_request(struct request_queue *q)
+static void mmc_request_fn(struct request_queue *q)
 {
        struct mmc_queue *mq = q->queuedata;
        struct request *req;
@@ -171,7 +171,7 @@ int mmc_init_queue(struct mmc_queue *mq, struct mmc_card *card,
                limit = *mmc_dev(host)->dma_mask;
 
        mq->card = card;
-       mq->queue = blk_init_queue(mmc_request, lock);
+       mq->queue = blk_init_queue(mmc_request_fn, lock);
        if (!mq->queue)
                return -ENOMEM;