diff --git a/drivers/mtd/mtd_progmem.c b/drivers/mtd/mtd_progmem.c index b0dbfb2a28..0ea769a595 100644 --- a/drivers/mtd/mtd_progmem.c +++ b/drivers/mtd/mtd_progmem.c @@ -124,10 +124,10 @@ static struct progmem_dev_s g_progmem = ****************************************************************************/ /**************************************************************************** - * Name: progmem_erase + * Name: progmem_log2 * * Description: - * Erase several blocks, each of the size previously reported. + * Check block size is exact powers of two. * ****************************************************************************/ diff --git a/include/nuttx/mtd/configdata.h b/include/nuttx/mtd/configdata.h index ade45e4d87..338a78f005 100644 --- a/include/nuttx/mtd/configdata.h +++ b/include/nuttx/mtd/configdata.h @@ -61,13 +61,13 @@ * CFGDIOC_GETCONFIG - Get a specified Config Data item. * * ioctl argument: Pointer to a config_data_s structure to receive the - * config data. All fields of the strucure must be + * config data. All fields of the structure must be * specified (i.e. id, instance, pointer and len). * * CFGDIOC_SETCONFIG - Set a specified Config Data Item * * ioctl argument: Pointer to a config_data_s structure to receive the - * config data. All fields of the strucure must be + * config data. All fields of the structure must be * specified (i.e. id, instance, pointer and len). */