Fix error: 'mmcsd_general_cmd_read' defined but not used

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2023-09-25 16:18:16 +08:00
committed by Petro Karashchenko
parent dc096f951e
commit f02ad03124
+1 -1
View File
@@ -2889,6 +2889,7 @@ static int mmcsd_read_csd(FAR struct mmcsd_state_s *priv)
} }
#endif #endif
#ifdef CONFIG_MMCSD_IOCSUPPORT
/**************************************************************************** /****************************************************************************
* Name: mmcsd_general_cmd_write * Name: mmcsd_general_cmd_write
* *
@@ -3149,7 +3150,6 @@ static int mmcsd_general_cmd_read(FAR struct mmcsd_state_s *priv,
return OK; return OK;
} }
#ifdef CONFIG_MMCSD_IOCSUPPORT
/**************************************************************************** /****************************************************************************
* Name: mmcsd_iocmd * Name: mmcsd_iocmd
* *