Skip to content

Commit a26892e

Browse files
andy-shevkuba-moo
authored andcommitted
nfc: mrvl: Don't use "proxy" headers
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]>
1 parent 33b5c84 commit a26892e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

drivers/nfc/nfcmrvl/uart.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,16 @@
55
* Copyright (C) 2015, Marvell International Ltd.
66
*/
77

8-
#include <linux/module.h>
98
#include <linux/delay.h>
10-
#include <linux/of_gpio.h>
9+
#include <linux/device.h>
10+
#include <linux/err.h>
11+
#include <linux/module.h>
12+
#include <linux/of.h>
13+
#include <linux/printk.h>
14+
1115
#include <net/nfc/nci.h>
1216
#include <net/nfc/nci_core.h>
17+
1318
#include "nfcmrvl.h"
1419

1520
static unsigned int hci_muxed;

0 commit comments

Comments
 (0)