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: Hao Xu <haoxu.linuxkernel@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
800c16c8a9
commit
546cbac4ab
@ -124,9 +124,9 @@ struct i2c_device {
|
||||
|
||||
// FIXME!
|
||||
#undef inb_p
|
||||
#define inb_p(a) readq((void*)a)
|
||||
#define inb_p(a) readq((void *)a)
|
||||
#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.
|
||||
* Return 0 if it is, -EBUSY if it is not.
|
||||
|
Loading…
Reference in New Issue
Block a user