diff mbox

mwifiex: Drop unnecessary include pcieport_if.h

Message ID a99f9851b2b0e26d0b8af41a16815d5e28beb217.1462285455.git.lukas@wunner.de (mailing list archive)
State Accepted
Delegated to: Kalle Valo
Headers show

Commit Message

Lukas Wunner May 3, 2016, 7:44 p.m. UTC
This header file is only needed for drivers binding to a PCI bridge
device allocated by drivers/pci/pcie/portdrv_core.c. The mwifiex driver
doesn't do that nor use any symbols defined in pcieport_if.h.

Cc: Amitkumar Karwar <akarwar@marvell.com>
Cc: Nishant Sarmukadam <nishants@marvell.com>
Signed-off-by: Lukas Wunner <lukas@wunner.de>
---
 drivers/net/wireless/marvell/mwifiex/pcie.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Kalle Valo May 11, 2016, 6:50 p.m. UTC | #1
Lukas Wunner <lukas@wunner.de> wrote:
> This header file is only needed for drivers binding to a PCI bridge
> device allocated by drivers/pci/pcie/portdrv_core.c. The mwifiex driver
> doesn't do that nor use any symbols defined in pcieport_if.h.
> 
> Cc: Amitkumar Karwar <akarwar@marvell.com>
> Cc: Nishant Sarmukadam <nishants@marvell.com>
> Signed-off-by: Lukas Wunner <lukas@wunner.de>

Thanks, 1 patch applied to wireless-drivers-next.git:

30cfe9f61c2e mwifiex: Drop unnecessary include pcieport_if.h
diff mbox

Patch

diff --git a/drivers/net/wireless/marvell/mwifiex/pcie.h b/drivers/net/wireless/marvell/mwifiex/pcie.h
index 6fc2873..1ccd5ad 100644
--- a/drivers/net/wireless/marvell/mwifiex/pcie.h
+++ b/drivers/net/wireless/marvell/mwifiex/pcie.h
@@ -23,7 +23,6 @@ 
 #define	_MWIFIEX_PCIE_H
 
 #include    <linux/pci.h>
-#include    <linux/pcieport_if.h>
 #include    <linux/interrupt.h>
 
 #include    "main.h"