2011-09-13 08:46:33

by Elias, Ilan

[permalink] [raw]
Subject: [PATCH v2 2/4] NFC: move nfc.h from include/net to include/net/nfc

The file nfc.h was moved from include/net to include/net/nfc,
since new NFC header files will be added to include/net/nfc.

Signed-off-by: Ilan Elias <[email protected]>
---
MAINTAINERS | 2 +-
drivers/nfc/pn533.c | 2 +-
include/net/{ => nfc}/nfc.h | 0
net/nfc/nfc.h | 2 +-
4 files changed, 3 insertions(+), 3 deletions(-)
rename include/net/{ => nfc}/nfc.h (100%)

diff --git a/MAINTAINERS b/MAINTAINERS
index 43f9137..869a4e2 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4517,7 +4517,7 @@ L: [email protected]
S: Maintained
F: net/nfc/
F: include/linux/nfc.h
-F: include/net/nfc.h
+F: include/net/nfc/
F: drivers/nfc/

NFS, SUNRPC, AND LOCKD CLIENTS
diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c
index c78eb6a..7bcb1fe 100644
--- a/drivers/nfc/pn533.c
+++ b/drivers/nfc/pn533.c
@@ -28,7 +28,7 @@
#include <linux/usb.h>
#include <linux/nfc.h>
#include <linux/netdevice.h>
-#include <net/nfc.h>
+#include <net/nfc/nfc.h>

#define VERSION "0.1"

diff --git a/include/net/nfc.h b/include/net/nfc/nfc.h
similarity index 100%
rename from include/net/nfc.h
rename to include/net/nfc/nfc.h
diff --git a/net/nfc/nfc.h b/net/nfc/nfc.h
index 1a877de..b6753f4 100644
--- a/net/nfc/nfc.h
+++ b/net/nfc/nfc.h
@@ -24,7 +24,7 @@
#ifndef __LOCAL_NFC_H
#define __LOCAL_NFC_H

-#include <net/nfc.h>
+#include <net/nfc/nfc.h>
#include <net/sock.h>

__attribute__((format (printf, 2, 3)))
--
1.7.0.4


2011-09-20 23:13:03

by Lauro Ramos Venancio

[permalink] [raw]
Subject: Re: [PATCH v2 2/4] NFC: move nfc.h from include/net to include/net/nfc

2011/9/19 Samuel Ortiz <[email protected]>:
> Hi Ilan,
>
> On Tue, 2011-09-13 at 10:46 +0200, Elias, Ilan wrote:
>> The file nfc.h was moved from include/net to include/net/nfc,
>> since new NFC header files will be added to include/net/nfc.
>>
>> Signed-off-by: Ilan Elias <[email protected]>
> Acked-by: Samuel Ortiz <[email protected]>
Acked-by: Lauro Ramos Venancio <[email protected]>


Lauro

2011-09-19 12:09:44

by Samuel Ortiz

[permalink] [raw]
Subject: Re: [PATCH v2 2/4] NFC: move nfc.h from include/net to include/net/nfc

Hi Ilan,

On Tue, 2011-09-13 at 10:46 +0200, Elias, Ilan wrote:
> The file nfc.h was moved from include/net to include/net/nfc,
> since new NFC header files will be added to include/net/nfc.
>
> Signed-off-by: Ilan Elias <[email protected]>
Acked-by: Samuel Ortiz <[email protected]>

Cheers,
Samuel.



2011-09-19 13:05:56

by Samuel Ortiz

[permalink] [raw]
Subject: Re: [PATCH v2 2/4] NFC: move nfc.h from include/net to include/net/nfc

Hi Ilan,

On Tue, 2011-09-13 at 10:46 +0200, Elias, Ilan wrote:
> The file nfc.h was moved from include/net to include/net/nfc,
> since new NFC header files will be added to include/net/nfc.
>
> Signed-off-by: Ilan Elias <[email protected]>
Acked-by: Samuel Ortiz <[email protected]>

Cheers,
Samuel.