From 57d6e7314381cdf8204597a3766c1d27051b4a2f Mon Sep 17 00:00:00 2001
From: Florian Fainelli <florian@openwrt.org>
Date: Tue, 8 Jan 2013 22:20:30 +0000
Subject: [PATCH] kernel: add kmod-mvsdio MMC host controller for Marvell
 targets

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35061
---
 package/kernel/modules/other.mk | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index d4983a32433..08b3a61a0ca 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -768,3 +768,19 @@ define KernelPackage/zram/description
 endef
 
 $(eval $(call KernelPackage,zram))
+
+
+define KernelPackage/mvsdio
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=Marvell SDIO support
+  DEPENDS:=@TARGET_orion||TARGET_kirkwood||TARGET_mvebu +kmod-mmc
+  KCONFIG:=CONFIG_MMC_MVSDIO
+  FILES:=$(LINUX_DIR)/drivers/mmc/host/mvsdio.ko
+  AUTOLOAD:=$(call AutoLoad,91,mvsdio)
+endef
+
+define KernelPacakge/mvsdio/description
+  Kernel support for the Marvell SDIO controller
+endef
+
+$(eval $(call KernelPackage,mvsdio))