Files
kernel_google_b4s4/include/uapi/linux/nfc/nfcinfo.h
Gaurav Singhal c53bc29462 NFC: Add snapshot of NQxxx NFC driver
Add the latest version of NQxxx NFC driver from
'commit 94594358b932 ("NFC: Fix interrupt state")'

Change-Id: I21db997d0edeeef165b46a00a125308b8627478b
Signed-off-by: Gaurav Singhal <gsinghal@codeaurora.org>
2017-05-26 15:05:08 +05:30

22 lines
362 B
C

#ifndef _UAPI_NFCINFO_H_
#define _UAPI_NFCINFO_H_
#include <linux/ioctl.h>
#define NFCC_MAGIC 0xE9
#define NFCC_GET_INFO _IOW(NFCC_MAGIC, 0x09, unsigned int)
struct nqx_devinfo {
unsigned char chip_type;
unsigned char rom_version;
unsigned char fw_major;
unsigned char fw_minor;
};
union nqx_uinfo {
unsigned int i;
struct nqx_devinfo info;
};
#endif