2016-05-03 19:41:55

by Lukas Wunner

[permalink] [raw]
Subject: [PATCH] mwifiex: Drop unnecessary include pcieport_if.h

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 <[email protected]>
Cc: Nishant Sarmukadam <[email protected]>
Signed-off-by: Lukas Wunner <[email protected]>
---
drivers/net/wireless/marvell/mwifiex/pcie.h | 1 -
1 file changed, 1 deletion(-)

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"
--
2.8.0.rc3



2016-05-11 18:50:44

by Kalle Valo

[permalink] [raw]
Subject: Re: mwifiex: Drop unnecessary include pcieport_if.h

Lukas Wunner <[email protected]> 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 <[email protected]>
> Cc: Nishant Sarmukadam <[email protected]>
> Signed-off-by: Lukas Wunner <[email protected]>

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

30cfe9f61c2e mwifiex: Drop unnecessary include pcieport_if.h

--
Sent by pwcli
https://patchwork.kernel.org/patch/9007981/