The key parameter (this_card) is invalid if the mmc_host drivers were built as module. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Change-Id: I250ce59591da542d7fc1e4afcd6d8442a82b1d17
25 lines
511 B
C
25 lines
511 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _MMC_CORE_BLOCK_H
|
|
#define _MMC_CORE_BLOCK_H
|
|
|
|
struct mmc_queue;
|
|
struct request;
|
|
|
|
void mmc_blk_cqe_recovery(struct mmc_queue *mq);
|
|
|
|
enum mmc_issued;
|
|
|
|
enum mmc_issued mmc_blk_mq_issue_rq(struct mmc_queue *mq, struct request *req);
|
|
void mmc_blk_mq_complete(struct request *req);
|
|
void mmc_blk_mq_recovery(struct mmc_queue *mq);
|
|
|
|
struct work_struct;
|
|
|
|
void mmc_blk_mq_complete_work(struct work_struct *work);
|
|
|
|
struct mmc_card;
|
|
|
|
extern struct mmc_card *this_card;
|
|
|
|
#endif
|