qcacld-3.0: Enable to use CNSS2 platform driver
Enable the flags to use CNSS2 platform driver for host driver. Change-Id: I18996443ab8e7c24fb65b6003cfc368b664b5837
这个提交包含在:
@@ -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
|
||||
|
在新工单中引用
屏蔽一个用户