Commit 546cbac4 authored by Hao Xu's avatar Hao Xu Committed by Greg Kroah-Hartman

staging: kpc2000: kpc2000_i2c: void* -> void *

modify void* to void * for #define inb_p(a) readq((void*)a)
and #define outb_p(d,a) writeq(d,(void*)a)
Signed-off-by: default avatarHao Xu <haoxu.linuxkernel@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 800c16c8
...@@ -124,9 +124,9 @@ struct i2c_device { ...@@ -124,9 +124,9 @@ struct i2c_device {
// FIXME! // FIXME!
#undef inb_p #undef inb_p
#define inb_p(a) readq((void*)a) #define inb_p(a) readq((void *)a)
#undef outb_p #undef outb_p
#define outb_p(d,a) writeq(d,(void*)a) #define outb_p(d,a) writeq(d,(void *)a)
/* Make sure the SMBus host is ready to start transmitting. /* Make sure the SMBus host is ready to start transmitting.
* Return 0 if it is, -EBUSY if it is not. * Return 0 if it is, -EBUSY if it is not.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment