@@ -1,5 +1,5 @@
/*
- * Driver include for the PN544 NFC chip.
+ * Driver include for the Inside Secure microread NFC chip.
*
* Copyright (C) 2011 Tieto Poland
* Copyright (C) 2012 Intel Corporation. All rights reserved.
@@ -21,8 +21,6 @@
#ifndef _MICROREAD_H
#define _MICROREAD_H
-#include <linux/i2c.h>
-
#define MICROREAD_DRIVER_NAME "microread"
/* board config platform data for microread */
@@ -6204,6 +6204,7 @@ F: include/net/nfc/
F: include/uapi/linux/nfc.h
F: drivers/nfc/
F: include/linux/platform_data/pn544.h
+F: include/linux/platform_data/microread.h
F: Documentation/devicetree/bindings/net/nfc/
NFS, SUNRPC, AND LOCKD CLIENTS
@@ -26,6 +26,7 @@
#include <linux/gpio.h>
#include <linux/nfc.h>
+#include <linux/platform_data/microread.h>
#include <net/nfc/hci.h>
#include <net/nfc/llc.h>
Several clean-ups related to include/linux/platform_data/microread.h: * Fix device name in comment. * Don't include <linux/i2c.h> as it isn't needed. * Include this header file from drivers/nfc/microread/i2c.c as that file uses struct microread_nfc_platform_data. * Add this header file to the NFC entry in MAINTAINERS. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Lauro Ramos Venancio <lauro.venancio@openbossa.org> Cc: Aloisio Almeida Jr <aloisio.almeida@openbossa.org> Cc: Samuel Ortiz <sameo@linux.intel.com> --- That being said, the header file in question only declares struct microread_nfc_platform_data, which is only used in drivers/nfc/microread/i2c.c, and that piece of code doesn't access a single field of the structure. So I am wondering if this struct and header file are needed at all in the first place? MAINTAINERS | 1 + drivers/nfc/microread/i2c.c | 1 + include/linux/platform_data/microread.h | 4 +--- 3 files changed, 3 insertions(+), 3 deletions(-)