Loading
cnss: Add separate KCONFIG flag for cnss SDIO/PCIe platform driver
For devices with no SDIO connected, it is useless to compile/load
the cnss SDIO platform driver, same for the cnss PCIe platform driver
compile/load for the device with non PCIe interfaced wlan module.
To resolve the above issue the CNSS added separate KCONFIG flag
for both cnss SDIO/PCIe platform driver compilation/load. Config
flag CONFIG_CNSS_SDIO to enable cnss SDIO support and CONFIG_CNSS_PCI
to enable cnss PCIe support.
This also helps to reduce the attack surface of kernel.
CRs-Fixed: 1104057
Change-Id: Ife8089ddeb1dc88f4db58f1a2ca1ecbfed3d28ce
Signed-off-by:
Sarada Prasanna Garnayak <sgarna@codeaurora.org>