summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/mmc_queue.h
diff options
context:
space:
mode:
authorPierre Ossman2006-12-23 20:03:02 +0100
committerPierre Ossman2007-05-01 13:04:16 +0200
commit98ac2162699f7e9880683cb954891817f20b607c (patch)
tree27452d428e16edfe6d13d71f297adf5376d07bde /drivers/mmc/mmc_queue.h
parentmmc: Move "present" marking (diff)
downloadkernel-qcow2-linux-98ac2162699f7e9880683cb954891817f20b607c.tar.gz
kernel-qcow2-linux-98ac2162699f7e9880683cb954891817f20b607c.tar.xz
kernel-qcow2-linux-98ac2162699f7e9880683cb954891817f20b607c.zip
mmc: Move queue functions to mmc_block
The mmc block queue functions are tailored for the mmc_block driver, so move those functions into that module. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/mmc_queue.h')
-rw-r--r--drivers/mmc/mmc_queue.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/drivers/mmc/mmc_queue.h b/drivers/mmc/mmc_queue.h
deleted file mode 100644
index c9f139e764f6..000000000000
--- a/drivers/mmc/mmc_queue.h
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef MMC_QUEUE_H
-#define MMC_QUEUE_H
-
-struct request;
-struct task_struct;
-
-struct mmc_queue {
- struct mmc_card *card;
- struct task_struct *thread;
- struct semaphore thread_sem;
- unsigned int flags;
- struct request *req;
- int (*prep_fn)(struct mmc_queue *, struct request *);
- int (*issue_fn)(struct mmc_queue *, struct request *);
- void *data;
- struct request_queue *queue;
- struct scatterlist *sg;
-};
-
-struct mmc_io_request {
- struct request *rq;
- int num;
- struct mmc_command selcmd; /* mmc_queue private */
- struct mmc_command cmd[4]; /* max 4 commands */
-};
-
-extern int mmc_init_queue(struct mmc_queue *, struct mmc_card *, spinlock_t *);
-extern void mmc_cleanup_queue(struct mmc_queue *);
-extern void mmc_queue_suspend(struct mmc_queue *);
-extern void mmc_queue_resume(struct mmc_queue *);
-
-#endif