mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Patch to removed MMCSD NSLOTS warning from Freddie Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5316 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -38,6 +38,9 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#if defined (CONFIG_MMCSD) && defined (CONFIG_MMCSD_SPI)
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <stdint.h>
|
||||
@@ -1878,3 +1881,5 @@ int mmcsd_spislotinitialize(int minor, int slotno, FAR struct spi_dev_s *spi)
|
||||
(void)SPI_REGISTERCALLBACK(spi, mmcsd_mediachanged, (void*)slot);
|
||||
return OK;
|
||||
}
|
||||
|
||||
#endif /* defined (CONFIG_MMCSD) && defined (CONFIG_MMCSD_SPI) */
|
||||
|
||||
Reference in New Issue
Block a user