include/: Remove support for CONFIG_FS_WRITABLE

This commit is contained in:
Gregory Nutt 2020-03-21 10:14:47 -06:00 committed by Xiang Xiao
parent 9120c33c21
commit 74ce4ab0ee

View File

@ -92,14 +92,9 @@ extern "C"
*
****************************************************************************/
#ifdef CONFIG_FS_WRITABLE
int ramdisk_register(int minor, FAR uint8_t *buffer, uint32_t nsectors,
uint16_t sectsize, uint8_t rdflags);
#define romdisk_register(m,b,n,s) ramdisk_register(m,(FAR uint8_t *)b,n,s,0)
#else
int romdisk_register(int minor, FAR const uint8_t *buffer, uint32_t nsectors,
uint16_t sectsize);
#endif
/****************************************************************************
* Name: mkrd