diff mbox series

mwifiex: pcie: Drop bogus __refdata annotation

Message ID 20201211133835.2970384-1-geert+renesas@glider.be
State New
Headers show
Series mwifiex: pcie: Drop bogus __refdata annotation | expand

Commit Message

Geert Uytterhoeven Dec. 11, 2020, 1:38 p.m. UTC
As the Marvell PCIE WiFi-Ex driver does not have any code or data
located in initmem, there is no need to annotate the mwifiex_pcie
structure with __refdata.  Drop the annotation, to avoid suppressing
future section warnings.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/net/wireless/marvell/mwifiex/pcie.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo Jan. 14, 2021, 5:28 p.m. UTC | #1
Geert Uytterhoeven <geert+renesas@glider.be> wrote:

> As the Marvell PCIE WiFi-Ex driver does not have any code or data

> located in initmem, there is no need to annotate the mwifiex_pcie

> structure with __refdata.  Drop the annotation, to avoid suppressing

> future section warnings.

> 

> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>


Patch applied to wireless-drivers-next.git, thanks.

596c84c49f8a mwifiex: pcie: Drop bogus __refdata annotation

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20201211133835.2970384-1-geert+renesas@glider.be/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
diff mbox series

Patch

diff --git a/drivers/net/wireless/marvell/mwifiex/pcie.c b/drivers/net/wireless/marvell/mwifiex/pcie.c
index 5f0a61b974ee521a..94228b316df1b210 100644
--- a/drivers/net/wireless/marvell/mwifiex/pcie.c
+++ b/drivers/net/wireless/marvell/mwifiex/pcie.c
@@ -571,7 +571,7 @@  static SIMPLE_DEV_PM_OPS(mwifiex_pcie_pm_ops, mwifiex_pcie_suspend,
 #endif
 
 /* PCI Device Driver */
-static struct pci_driver __refdata mwifiex_pcie = {
+static struct pci_driver mwifiex_pcie = {
 	.name     = "mwifiex_pcie",
 	.id_table = mwifiex_ids,
 	.probe    = mwifiex_pcie_probe,