mirror of
https://github.com/a52xq-dev/kernel.git
synced 2026-10-18 21:58:11 +07:00
* this imports the latest version of SM-A526B kernel from https://opensource.samsung.com/uploadSearch?searchValue=SM-A526B
26 lines
509 B
C
26 lines
509 B
C
/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
|
|
/*
|
|
* Copyright (c) 2018,2019, The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
#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
|