From f02ad03124684650a186c5e8edf24bccd8d1486f Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 25 Sep 2023 16:18:16 +0800 Subject: [PATCH] Fix error: 'mmcsd_general_cmd_read' defined but not used Signed-off-by: Xiang Xiao --- drivers/mmcsd/mmcsd_sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmcsd/mmcsd_sdio.c b/drivers/mmcsd/mmcsd_sdio.c index 50b2f31d70da9..a570568d72a8a 100644 --- a/drivers/mmcsd/mmcsd_sdio.c +++ b/drivers/mmcsd/mmcsd_sdio.c @@ -2889,6 +2889,7 @@ static int mmcsd_read_csd(FAR struct mmcsd_state_s *priv) } #endif +#ifdef CONFIG_MMCSD_IOCSUPPORT /**************************************************************************** * Name: mmcsd_general_cmd_write * @@ -3149,7 +3150,6 @@ static int mmcsd_general_cmd_read(FAR struct mmcsd_state_s *priv, return OK; } -#ifdef CONFIG_MMCSD_IOCSUPPORT /**************************************************************************** * Name: mmcsd_iocmd *