Skip to contentSkip to conversation

NFC: Move pn544.h to linux/platform_data/

PATCH Applied Marcel Holtmann 2 participants 2 messages Oct 24, 2012 – Oct 29, 2012 NFC

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 NFC: Move pn544.h to linux/platform_data/

The pn544.h just provides the platform data struct and defines and nothing else. So move it to to linux/platform_data/ now.

---
 drivers/nfc/pn544_hci.c             |  2 +-
 include/linux/nfc/pn544.h           | 44 -------------------------------------
 include/linux/platform_data/pn544.h | 44 +++++++++++++++++++++++++++++++++++++
 3 files changed, 45 insertions(+), 45 deletions(-)
 delete mode 100644 include/linux/nfc/pn544.h
 create mode 100644 include/linux/platform_data/pn544.h
drivers/nfc/pn544_hci.c +1 -1
index c9c8570..ae5d5f7 100644
@@ -31,7 +31,7 @@
 #include <net/nfc/hci.h>
 #include <net/nfc/llc.h>
 
-#include <linux/nfc/pn544.h>
+#include <linux/platform_data/pn544.h>
 
 #define DRIVER_DESC "HCI NFC driver for PN544"
 
include/linux/nfc/pn544.h deleted +0 -44

44 lines not on this page · raw message

include/linux/platform_data/pn544.h new file +44 -0

44 lines not on this page · raw message

Signature · 1 line
1.7.11.7
#1 lore raw

Hi Marcel,

Quoted 11 lines · Marcel Holtmann

The pn544.h just provides the platform data struct and defines and nothing else. So move it to to linux/platform_data/ now.

---
 drivers/nfc/pn544_hci.c             |  2 +-
 include/linux/nfc/pn544.h           | 44 -------------------------------------
 include/linux/platform_data/pn544.h | 44 +++++++++++++++++++++++++++++++++++++
 3 files changed, 45 insertions(+), 45 deletions(-)
 delete mode 100644 include/linux/nfc/pn544.h
 create mode 100644 include/linux/platform_data/pn544.h

We moved the pn544 driver into his own directory, so I applied this patch to my nfc-next branch after fixing it up.

Cheers,
Samuel.

Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/