From 4d59d6cbcccd5773eed6e5f374f7ccd53d4a0ec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matou=C5=A1=20Pokorn=C3=BD?= Date: Thu, 7 Nov 2019 07:46:22 -0600 Subject: [PATCH] drivers/mtd/mtd_progmem.c: Small typo fix. --- drivers/mtd/mtd_progmem.c | 4 ++-- include/nuttx/mtd/configdata.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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). */