mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Re-organize header file including structure
Include pld_common.h in pld_internal.h as it uses data structures defined in pld_common.h. CRs-Fixed: 1022636 Change-Id: I17f8abfbec08b620be5af677e1599554c5fc7ea6
This commit is contained in:
parent
5e25f531b5
commit
f7aea120bf
6 changed files with 4 additions and 6 deletions
|
|
@ -43,8 +43,6 @@
|
|||
|
||||
#include "pld_pcie.h"
|
||||
#include "pld_snoc.h"
|
||||
#include "pld_common.h"
|
||||
#include "pld_internal.h"
|
||||
|
||||
#define PLD_PCIE_REGISTERED BIT(0)
|
||||
#define PLD_SNOC_REGISTERED BIT(1)
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
#ifndef __PLD_COMMON_I_H__
|
||||
#define __PLD_COMMON_I_H__
|
||||
|
||||
#include "pld_common.h"
|
||||
|
||||
struct dev_node {
|
||||
struct device *dev;
|
||||
struct list_head list;
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@
|
|||
#include <net/cnss.h>
|
||||
#endif
|
||||
|
||||
#include "pld_common.h"
|
||||
#include "pld_internal.h"
|
||||
|
||||
#ifdef CONFIG_PCI
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
#ifndef __PLD_PCIE_H__
|
||||
#define __PLD_PCIE_H__
|
||||
|
||||
#include "pld_common.h"
|
||||
#include "pld_internal.h"
|
||||
|
||||
#ifndef CONFIG_PCI
|
||||
static inline int pld_pcie_register_driver(void)
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@
|
|||
#include <soc/qcom/icnss.h>
|
||||
#endif
|
||||
|
||||
#include "pld_common.h"
|
||||
#include "pld_internal.h"
|
||||
|
||||
#ifdef CONFIG_PLD_SNOC_ICNSS
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
#ifndef __PLD_SNOC_H__
|
||||
#define __PLD_SNOC_H__
|
||||
|
||||
#include "pld_common.h"
|
||||
#include "pld_internal.h"
|
||||
|
||||
#ifndef CONFIG_PLD_SNOC_ICNSS
|
||||
static inline int pld_snoc_register_driver(void)
|
||||
|
|
|
|||
Loading…
Reference in a new issue