summaryrefslogtreecommitdiff
path: root/util/superiotool/fintek.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/superiotool/fintek.c')
-rw-r--r--util/superiotool/fintek.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/superiotool/fintek.c b/util/superiotool/fintek.c
index f7baaf6989..c12954c7f9 100644
--- a/util/superiotool/fintek.c
+++ b/util/superiotool/fintek.c
@@ -20,7 +20,7 @@
#include "superiotool.h"
-void dump_fintek(unsigned short port, unsigned int did)
+void dump_fintek(uint16_t port, uint16_t did)
{
switch (did) {
case 0x0604:
@@ -89,9 +89,9 @@ void dump_fintek(unsigned short port, unsigned int did)
regval(port, 0xf6), regval(port, 0xf7), regval(port, 0xf8));
}
-void probe_idregs_fintek(unsigned short port)
+void probe_idregs_fintek(uint16_t port)
{
- unsigned int vid, did, success = 0;
+ uint16_t vid, did, success = 0;
/* Enable configuration sequence (Fintek uses this for example)
* Older ITE chips have the same enable sequence.