From 0709d7c61d30dc45900d34eacf632e4d0b0f6941 Mon Sep 17 00:00:00 2001 From: reinelt Date: Wed, 6 Jul 2005 04:40:18 +0000 Subject: [lcd4linux @ 2005-07-06 04:40:18 by reinelt] GCC-4 fixes git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@581 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- lcd4linux_i2c.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lcd4linux_i2c.h') diff --git a/lcd4linux_i2c.h b/lcd4linux_i2c.h index 13fa5e7..5978044 100644 --- a/lcd4linux_i2c.h +++ b/lcd4linux_i2c.h @@ -1,4 +1,4 @@ -/* $Id: lcd4linux_i2c.h,v 1.2 2005/06/01 12:09:13 reinelt Exp $ +/* $Id: lcd4linux_i2c.h,v 1.3 2005/07/06 04:40:18 reinelt Exp $ * * user space i2c sturctures and defines, taken from the official kernel i2c * includes to solve the problem when compiling user space application @@ -32,6 +32,9 @@ * * * $Log: lcd4linux_i2c.h,v $ + * Revision 1.3 2005/07/06 04:40:18 reinelt + * GCC-4 fixes + * * Revision 1.2 2005/06/01 12:09:13 reinelt * removed ^M from lcd4linux_i2c.h; indent.sh run * @@ -78,7 +81,7 @@ extern int i2c_master_recv(struct i2c_client *, char *, int); /* Transfer num messages. */ -extern int i2c_transfer(struct i2c_adapter *adap, struct i2c_msg msg[], int num); +extern int i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msg, int num); /* * Some adapter types (i.e. PCF 8584 based ones) may support slave behaviuor. -- cgit v1.2.3