Open thelinuxdude opened 4 years ago
I had to patch the code with the following to get it to compile.
diff --git a/src/st25dv.c b/src/st25dv.c index fd96787..67a14d7 100644 --- a/src/st25dv.c +++ b/src/st25dv.c @@ -379,7 +379,7 @@ static int st25dv_probe(struct i2c_client *client, sys_data->client = client_sys_area; mailbox_data->client = client; dyn_reg_data->client = client; - memset(data->data, 0xff, mem_config[id->driver_data];); + memset(data->data, 0xff, mem_config[id->driver_data]); memset(sys_data->data, 0xff, SYS_MEM_SIZE); memset(dyn_reg_data->data, 0xff, DYN_REG_SIZE); memset(mailbox_data->data, 0xff, MAILBOX_MEM_SIZE);
Fixed with afcfa1b
I had to patch the code with the following to get it to compile.