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:
Yuanyuan Liu 2016-05-25 16:39:40 -07:00 • committed by Vishwajith Upendra
commit f7aea120bf
6 changed files with 4 additions and 6 deletions

View file

@ -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)

View file

@ -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;

View file

@ -35,7 +35,6 @@
#include <net/cnss.h>
#endif
#include "pld_common.h"
#include "pld_internal.h"
#ifdef CONFIG_PCI

View file

@ -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)

View file

@ -34,7 +34,6 @@
#include <soc/qcom/icnss.h>
#endif
#include "pld_common.h"
#include "pld_internal.h"
#ifdef CONFIG_PLD_SNOC_ICNSS

View file

@ -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)