提交 3d7e6cf8 编写于 作者: M Michael Hennerich 提交者: Bryan Wu

[Blackfin] arch: fix bug - allow SDH driver to be used as module

Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: NBryan Wu <cooloney@kernel.org>
上级 2f775dba
...@@ -323,7 +323,7 @@ static struct platform_device bf5xx_nand_device = { ...@@ -323,7 +323,7 @@ static struct platform_device bf5xx_nand_device = {
}; };
#endif #endif
#if defined(CONFIG_SDH_BFIN) || defined(CONFIG_SDH_BFIN) #if defined(CONFIG_SDH_BFIN) || defined(CONFIG_SDH_BFIN_MODULE)
static struct platform_device bf54x_sdh_device = { static struct platform_device bf54x_sdh_device = {
.name = "bfin-sdh", .name = "bfin-sdh",
.id = 0, .id = 0,
...@@ -636,7 +636,7 @@ static struct platform_device *ezkit_devices[] __initdata = { ...@@ -636,7 +636,7 @@ static struct platform_device *ezkit_devices[] __initdata = {
&bf5xx_nand_device, &bf5xx_nand_device,
#endif #endif
#if defined(CONFIG_SDH_BFIN) || defined(CONFIG_SDH_BFIN) #if defined(CONFIG_SDH_BFIN) || defined(CONFIG_SDH_BFIN_MODULE)
&bf54x_sdh_device, &bf54x_sdh_device,
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册