diff options
author | Elliott Hughes <enh@google.com> | 2013-11-22 17:37:24 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-11-22 17:37:24 -0800 |
commit | 259abdcbb35206e0ae728d516d01c4892367bee6 (patch) | |
tree | 9c2aef089298f1a802a13a88b9dfe2e1a564b431 | |
parent | 9e987ccb716624d658f98abc7db2097e11e3d8ed (diff) | |
parent | b4564787a7f8b5e7b9a0147c40a5bf2e83125424 (diff) | |
download | libnfc-nxp-259abdcbb35206e0ae728d516d01c4892367bee6.tar.gz |
am b4564787: Merge "Remove a dependency on a device-kernel-specific header."idea133
* commit 'b4564787a7f8b5e7b9a0147c40a5bf2e83125424':
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); |