diff --git a/include/nuttx/drivers/ramdisk.h b/include/nuttx/drivers/ramdisk.h index 9706a4f625..63848be1b5 100644 --- a/include/nuttx/drivers/ramdisk.h +++ b/include/nuttx/drivers/ramdisk.h @@ -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