Skip to content

Commit

Permalink
nfc: mrvl: Don't use "proxy" headers
Browse files Browse the repository at this point in the history
Update header inclusions to follow IWYU (Include What You Use)
principle.

In this case replace of_gpio.h, which is subject to remove by the GPIOLIB
subsystem, with the respective headers that are being used by the driver.

Acked-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
  • Loading branch information
andy-shev authored and kuba-moo committed Jan 19, 2025
1 parent 33b5c84 commit a26892e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions drivers/nfc/nfcmrvl/uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,16 @@
* Copyright (C) 2015, Marvell International Ltd.
*/

#include <linux/module.h>
#include <linux/delay.h>
#include <linux/of_gpio.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/printk.h>

#include <net/nfc/nci.h>
#include <net/nfc/nci_core.h>

#include "nfcmrvl.h"

static unsigned int hci_muxed;
Expand Down

0 comments on commit a26892e

Please sign in to comment.