mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 05:04:20 +00:00
iwlwifi: iwl-trans.h doesn't need all these includes
We can use forward declaration for the relevant struct since they aren't dereferenced in the header file. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
This commit is contained in:
parent
53476fe11f
commit
e679378dc6
2 changed files with 5 additions and 4 deletions
|
@ -76,6 +76,7 @@
|
||||||
#include "iwl-eeprom.h"
|
#include "iwl-eeprom.h"
|
||||||
#include "iwl-agn-hw.h"
|
#include "iwl-agn-hw.h"
|
||||||
#include "iwl-core.h"
|
#include "iwl-core.h"
|
||||||
|
#include "iwl-ucode.h"
|
||||||
|
|
||||||
static int iwl_trans_rx_alloc(struct iwl_trans *trans)
|
static int iwl_trans_rx_alloc(struct iwl_trans *trans)
|
||||||
{
|
{
|
||||||
|
|
|
@ -63,12 +63,9 @@
|
||||||
#ifndef __iwl_trans_h__
|
#ifndef __iwl_trans_h__
|
||||||
#define __iwl_trans_h__
|
#define __iwl_trans_h__
|
||||||
|
|
||||||
#include <linux/debugfs.h>
|
#include <linux/ieee80211.h>
|
||||||
#include <linux/skbuff.h>
|
|
||||||
|
|
||||||
#include "iwl-shared.h"
|
#include "iwl-shared.h"
|
||||||
#include "iwl-commands.h"
|
|
||||||
#include "iwl-ucode.h"
|
|
||||||
#include "iwl-debug.h"
|
#include "iwl-debug.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -109,6 +106,9 @@
|
||||||
struct iwl_priv;
|
struct iwl_priv;
|
||||||
struct iwl_shared;
|
struct iwl_shared;
|
||||||
struct iwl_op_mode;
|
struct iwl_op_mode;
|
||||||
|
struct fw_img;
|
||||||
|
struct sk_buff;
|
||||||
|
struct dentry;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DOC: Host command section
|
* DOC: Host command section
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue