Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

device-generic-common: Commit

device/generic/common


Commit MetaInfo

Revisióne0b0df2a15e2c997ea9bac8a6ff2a24a9fb9a6a9 (tree)
Tiempo2018-06-21 19:55:05
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

Cambiar Resumen

Diferencia incremental

--- a/tp_smapi/tp_smapi.c
+++ b/tp_smapi/tp_smapi.c
@@ -107,7 +107,7 @@ static struct { u8 rc; char *msg; int ret; } smapi_retcode[] =
107107
108108 #define SMAPI_MAX_RETRIES 10
109109 #define SMAPI_PORT2 0x4F /* fixed port, meaning unclear */
110-static unsigned short smapi_port; /* APM control port, normally 0xB2 */
110+static u16 smapi_port; /* APM control port, normally 0xB2 */
111111
112112 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37)
113113 static DECLARE_MUTEX(smapi_mutex);
@@ -199,7 +199,7 @@ static int smapi_request(u32 inEBX, u32 inECX,
199199 "=m"(tmpEDI),
200200 "=m"(tmpESI)
201201 :"m"(inEBX), "m"(inECX), "m"(inEDI), "m"(inESI),
202- "m"((u16)smapi_port)
202+ "m"(smapi_port)
203203 :"%eax", "%ebx", "%ecx", "%edx", "%edi",
204204 "%esi");
205205
Show on old repository browser