MLK-14766: bcmdhd: Fix compile issue when building MMC subsystem as module
authorDong Aisheng <aisheng.dong@nxp.com>
Wed, 3 May 2017 14:17:11 +0000 (17:17 +0300)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:22:08 +0000 (15:22 -0500)
commitc33e9c7f90b3321bf18c7cfa1de67da7eb050225
treeef9905273b3adca862f5681351e8ca473dae1eba
parenteb5ac4c429eba46ce8c802a4d388538ea6daeef3
MLK-14766: bcmdhd: Fix compile issue when building MMC subsystem as module

Re-apply Dong Aisheng's patch for MLK-13190, as the issue
reappeared with bcmdhd update v1.141.100.6:

BCMDHD_SDIO needs to be tristate for the correct dependency
of MMC core subsystem.
And the old driver buildin mode is static defined by DRIVER_TYPE.
Fix it to depend on CONFIG_BCMDHD_SDIO.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Tiberiu Breana <andrei-tiberiu.breana@nxp.com>
drivers/net/wireless/bcmdhd/Kconfig
drivers/net/wireless/bcmdhd/Makefile