diff options
author | Elliott Hughes <enh@google.com> | 2013-11-23 01:33:56 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-11-23 01:33:56 +0000 |
commit | b4564787a7f8b5e7b9a0147c40a5bf2e83125424 (patch) | |
tree | ab45b818dcb91f203cfe2b565d61023ca8698b07 | |
parent | 42f5b41d22bbbad1b16b9cd3aba0512a399f32a6 (diff) | |
parent | 54e2f9f2bcdedf1c0ffc2af1dca5f457544dd85b (diff) | |
download | libnfc-nxp-b4564787a7f8b5e7b9a0147c40a5bf2e83125424.tar.gz |
Merge "Remove a dependency on a device-kernel-specific header."
-rw-r--r-- | Linux_x86/phDal4Nfc_i2c.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Linux_x86/phDal4Nfc_i2c.c b/Linux_x86/phDal4Nfc_i2c.c index 8b742d9..72edb22 100644 --- a/Linux_x86/phDal4Nfc_i2c.c +++ b/Linux_x86/phDal4Nfc_i2c.c @@ -41,8 +41,6 @@ #include <string.h> #endif -#include <linux/pn544.h> - typedef struct { int nHandle; @@ -266,6 +264,7 @@ FUNCTION: phDal4Nfc_i2c_reset PURPOSE: Reset the PN544, using the VEN pin -----------------------------------------------------------------------------*/ +#define PN544_SET_PWR _IOW(0xe9, 0x01, unsigned int) int phDal4Nfc_i2c_reset(long level) { DAL_DEBUG("phDal4Nfc_i2c_reset, VEN level = %ld", level); |