qcacld-3.0: Enable to use CNSS2 platform driver

Enable the flags to use CNSS2 platform driver for host driver.

Change-Id: I18996443ab8e7c24fb65b6003cfc368b664b5837
这个提交包含在:
Yue Ma
2016-08-31 11:09:23 -07:00
提交者 qcabuildsw
父节点 8c5f48dda7
当前提交 e6a7a32b00
修改 4 个文件,包含 46 行新增3 行删除

查看文件

@@ -34,9 +34,24 @@
#include <linux/slab.h>
#include <linux/pm.h>
#if defined(CONFIG_PLD_PCIE_CNSS) || defined(CONFIG_PLD_SDIO_CNSS)
#ifdef CONFIG_PLD_SDIO_CNSS
#include <net/cnss.h>
#endif
#ifdef CONFIG_PLD_PCIE_CNSS
/*
* This is a hack to make sure this change can be merged before the
* kernel defconfig change (switching to CNSS2 platform driver) merged,
* otherwise the kernel change has to depend on this change to be merged.
* Once the kernel change is merged, these CNSS flags can be removed
* so that only cnss2.h is needed.
*/
#ifdef CONFIG_CNSS
#include <net/cnss.h>
#endif
#ifdef CONFIG_CNSS2
#include <net/cnss2.h>
#endif
#endif
#ifdef CONFIG_PLD_SNOC_ICNSS
#include <soc/qcom/icnss.h>
#endif

查看文件

@@ -32,8 +32,20 @@
#include <linux/slab.h>
#ifdef CONFIG_PLD_PCIE_CNSS
/*
* This is a hack to make sure this change can be merged before the
* kernel defconfig change (switching to CNSS2 platform driver) merged,
* otherwise the kernel change has to depend on this change to be merged.
* Once the kernel change is merged, these CNSS flags can be removed
* so that only cnss2.h is needed.
*/
#ifdef CONFIG_CNSS
#include <net/cnss.h>
#endif
#ifdef CONFIG_CNSS2
#include <net/cnss2.h>
#endif
#endif
#include "pld_internal.h"
#include "pld_pcie.h"

查看文件

@@ -29,8 +29,20 @@
#define __PLD_PCIE_H__
#ifdef CONFIG_PLD_PCIE_CNSS
/*
* This is a hack to make sure this change can be merged before the
* kernel defconfig change (switching to CNSS2 platform driver) merged,
* otherwise the kernel change has to depend on this change to be merged.
* Once the kernel change is merged, these CNSS flags can be removed
* so that only cnss2.h is needed.
*/
#ifdef CONFIG_CNSS
#include <net/cnss.h>
#endif
#ifdef CONFIG_CNSS2
#include <net/cnss2.h>
#endif
#endif
#include "pld_internal.h"
#ifndef CONFIG_PCI