mirror of https://github.com/OpenIPC/firmware.git
28 lines
904 B
Diff
28 lines
904 B
Diff
diff -drupN a/drivers/char/sunxi-scr/smartcard.h b/drivers/char/sunxi-scr/smartcard.h
|
|
--- a/drivers/char/sunxi-scr/smartcard.h 1970-01-01 03:00:00.000000000 +0300
|
|
+++ b/drivers/char/sunxi-scr/smartcard.h 2022-06-12 05:28:14.000000000 +0300
|
|
@@ -0,0 +1,23 @@
|
|
+/*
|
|
+ * drivers/char/sunxi-scr/smartcard.h
|
|
+ *
|
|
+ * Copyright (C) 2016 Allwinner.
|
|
+ * fuzhaoke <fuzhaoke@allwinnertech.com>
|
|
+ *
|
|
+ * Header file ISO7816 smart card
|
|
+ *
|
|
+ * This program is free software; you can redistribute it and/or
|
|
+ * modify it under the terms of the GNU General Public License as
|
|
+ * published by the Free Software Foundation; either version 2 of
|
|
+ * the License, or (at your option) any later version.
|
|
+ */
|
|
+
|
|
+#ifndef __SMARTCARD_H__
|
|
+#define __SMARTCARD_H__
|
|
+
|
|
+#include "sunxi-scr-user.h"
|
|
+
|
|
+void smartcard_atr_decode(struct smc_atr_para *pscatr, struct smc_pps_para *psmc_pps,
|
|
+ uint8_t *pdata, uint8_t with_ts);
|
|
+
|
|
+#endif
|