summaryrefslogtreecommitdiffstats
path: root/drivers/staging/kpc2000
diff options
context:
space:
mode:
authorHao Xu <haoxu.linuxkernel@gmail.com>2019-06-08 15:27:46 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-09 13:07:23 +0200
commit546cbac4ab54e12397252d10f4179b2528c09417 (patch)
tree43df23336125d9c8a455d85c289efd673122ad55 /drivers/staging/kpc2000
parent800c16c8a927b8fc732d5d0dd821b6c96738cf14 (diff)
downloadblackbird-op-linux-546cbac4ab54e12397252d10f4179b2528c09417.tar.gz
blackbird-op-linux-546cbac4ab54e12397252d10f4179b2528c09417.zip
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>
Diffstat (limited to 'drivers/staging/kpc2000')
-rw-r--r--drivers/staging/kpc2000/kpc2000_i2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/kpc2000/kpc2000_i2c.c b/drivers/staging/kpc2000/kpc2000_i2c.c
index a434dd0b78c4..de3a0c8215cb 100644
--- a/drivers/staging/kpc2000/kpc2000_i2c.c
+++ b/drivers/staging/kpc2000/kpc2000_i2c.c
@@ -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.
OpenPOWER on IntegriCloud