diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk index ebd5d4ddef..f1074251ab 100644 --- a/package/kernel/modules/block.mk +++ b/package/kernel/modules/block.mk @@ -161,6 +161,16 @@ endef $(eval $(call KernelPackage,ata-via-sata)) +define KernelPackage/block2mtd + SUBMENU:=$(BLOCK_MENU) + TITLE:=Block device MTD emulation + KCONFIG:=CONFIG_MTD_BLOCK2MTD + FILES:=$(LINUX_DIR)/drivers/mtd/devices/block2mtd.$(LINUX_KMOD_SUFFIX) +endef + +$(eval $(call KernelPackage,block2mtd)) + + define KernelPackage/dm SUBMENU:=$(BLOCK_MENU) TITLE:=Device Mapper diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 177318d482..10db180e5f 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -7,14 +7,6 @@ OTHER_MENU:=Other modules -define KernelPackage/block2mtd - SUBMENU:=$(OTHER_MENU) - TITLE:=Block device MTD emulation - KCONFIG:=CONFIG_MTD_BLOCK2MTD - FILES:=$(LINUX_DIR)/drivers/mtd/devices/block2mtd.$(LINUX_KMOD_SUFFIX) -endef -$(eval $(call KernelPackage,block2mtd)) - define KernelPackage/crc-itu-t SUBMENU:=$(OTHER_MENU) TITLE:=CRC ITU-T V.41 support