diff options
author | 2025-01-16 17:30:37 +0200 | |
---|---|---|
committer | 2025-01-18 17:10:05 -0800 | |
commit | a26892ee1297dcdb8f5e08e5971f4439a9c2abb5 (patch) | |
tree | f5a34ca481389f83077db736eb6720aa059b5e5f | |
parent | nfc: st21nfca: Remove unused of_gpio.h (diff) | |
download | wireguard-linux-a26892ee1297dcdb8f5e08e5971f4439a9c2abb5.tar.xz wireguard-linux-a26892ee1297dcdb8f5e08e5971f4439a9c2abb5.zip |
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 <krzysztof.kozlowski@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20250116153119.148097-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/nfc/nfcmrvl/uart.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/nfc/nfcmrvl/uart.c b/drivers/nfc/nfcmrvl/uart.c index 956ae92f7573..2037cd6d4f4f 100644 --- a/drivers/nfc/nfcmrvl/uart.c +++ b/drivers/nfc/nfcmrvl/uart.c @@ -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; |