]> Pileus Git - ~andy/linux/blobdiff - net/nfc/nfc.h
Merge branch 'for-3.2/core' of git://git.kernel.dk/linux-block
[~andy/linux] / net / nfc / nfc.h
index aaf9832298f34d9c932c39060a4ca94fe1f5e208..d86583f4831d73f7fd4ee6a8d4f898eb3b1a3f3e 100644 (file)
 #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)))
+__printf(2, 3)
 int nfc_printk(const char *level, const char *fmt, ...);
 
 #define nfc_info(fmt, arg...) nfc_printk(KERN_INFO, fmt, ##arg)
@@ -101,6 +101,10 @@ static inline void nfc_device_iter_exit(struct class_dev_iter *iter)
        class_dev_iter_exit(iter);
 }
 
+int nfc_dev_up(struct nfc_dev *dev);
+
+int nfc_dev_down(struct nfc_dev *dev);
+
 int nfc_start_poll(struct nfc_dev *dev, u32 protocols);
 
 int nfc_stop_poll(struct nfc_dev *dev);