summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKevin Wells <kevin.wells@nxp.com>2009-11-12 00:23:00 +0100
committerBen Dooks <ben-linux@fluff.org>2009-11-20 00:25:42 +0000
commit4ced24c8973f79113444d1e00ee8bd9e74fbf43e (patch)
treeaeab7b72d009b15f918b0dfeb17bfc5a1603b071 /include
parentb2f125bcf5eac41a6d74f75ac573b77753213b74 (diff)
i2c: i2c-pnx: Made buf type unsigned to prevent sign extension
Made buf type unsigned to prevent sign extension Signed-off-by: Kevin Wells <kevin.wells@nxp.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/i2c-pnx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/i2c-pnx.h b/include/linux/i2c-pnx.h
index f13255e06406..9eb07bbc6522 100644
--- a/include/linux/i2c-pnx.h
+++ b/include/linux/i2c-pnx.h
@@ -21,7 +21,7 @@ struct i2c_pnx_mif {
int mode; /* Interface mode */
struct completion complete; /* I/O completion */
struct timer_list timer; /* Timeout */
- char * buf; /* Data buffer */
+ u8 * buf; /* Data buffer */
int len; /* Length of data buffer */
};