提交 15ff2946 编写于 作者: C Colin Ian King 提交者: Ulf Hansson

mmc: block: make function mmc_cqe_issue_type static

The function mmc_cqe_issue_type is local to the source and does
not need to be in global scope, so make it static.

Cleans up sparse warning:
drivers/mmc/core/queue.c:62:21: warning: symbol 'mmc_cqe_issue_type'
was not declared. Should it be static?
Signed-off-by: NColin Ian King <colin.king@canonical.com>
Acked-by: NAdrian Hunter <adrian.hunter@intel.com>
Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
上级 aa950144
...@@ -59,7 +59,7 @@ static inline bool mmc_cqe_can_dcmd(struct mmc_host *host) ...@@ -59,7 +59,7 @@ static inline bool mmc_cqe_can_dcmd(struct mmc_host *host)
return host->caps2 & MMC_CAP2_CQE_DCMD; return host->caps2 & MMC_CAP2_CQE_DCMD;
} }
enum mmc_issue_type mmc_cqe_issue_type(struct mmc_host *host, static enum mmc_issue_type mmc_cqe_issue_type(struct mmc_host *host,
struct request *req) struct request *req)
{ {
switch (req_op(req)) { switch (req_op(req)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册