Message ID | 1444414747-8049-1-git-send-email-kholmanskikh.s.s@gmail.com (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Kalle Valo |
Headers | show |
On Fri, Oct 09, 2015 at 09:19:07PM +0300, Stanislav Kholmanskikh wrote: > Looking at the code, it seems that "MEMROY" in the config option > name is a typo. It should be "MEMORY" instead. > > Changed the config option name accordingly. > > Signed-off-by: Stanislav Kholmanskikh <kholmanskikh.s.s@gmail.com> Just delete it and delete -DWILC_NORMAL_ALLOC as well. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/staging/wilc1000/Kconfig b/drivers/staging/wilc1000/Kconfig index 59ccecc..d636f46 100644 --- a/drivers/staging/wilc1000/Kconfig +++ b/drivers/staging/wilc1000/Kconfig @@ -19,7 +19,7 @@ config WILC1000_PREALLOCATE_AT_LOADING_DRIVER during initial time. The driver will also free the buffer by calling network device stop. -config WILC1000_DYNAMICALLY_ALLOCATE_MEMROY +config WILC1000_DYNAMICALLY_ALLOCATE_MEMORY bool "Dynamically allocate memory in real time" ---help--- This choice supports dynamic allocation of the memory diff --git a/drivers/staging/wilc1000/Makefile b/drivers/staging/wilc1000/Makefile index f495061..026609a 100644 --- a/drivers/staging/wilc1000/Makefile +++ b/drivers/staging/wilc1000/Makefile @@ -15,7 +15,7 @@ ccflags-y += -I$(src)/ -D__CHECK_ENDIAN__ -DWILC_ASIC_A0 \ ccflags-$(CONFIG_WILC1000_PREALLOCATE_AT_LOADING_DRIVER) += -DMEMORY_STATIC \ -DWILC_PREALLOC_AT_INSMOD -ccflags-$(CONFIG_WILC1000_DYNAMICALLY_ALLOCATE_MEMROY) += -DWILC_NORMAL_ALLOC +ccflags-$(CONFIG_WILC1000_DYNAMICALLY_ALLOCATE_MEMORY) += -DWILC_NORMAL_ALLOC wilc1000-objs := wilc_wfi_cfgoperations.o linux_wlan.o linux_mon.o \
Looking at the code, it seems that "MEMROY" in the config option name is a typo. It should be "MEMORY" instead. Changed the config option name accordingly. Signed-off-by: Stanislav Kholmanskikh <kholmanskikh.s.s@gmail.com> --- drivers/staging/wilc1000/Kconfig | 2 +- drivers/staging/wilc1000/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)