summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Linux_x86/phDal4Nfc_i2c.c3
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);