]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
i2c-highlander: Trivial endian casting fixes
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 11 Dec 2008 11:11:21 +0000 (12:11 +0100)
committerJean Delvare <khali@linux-fr.org>
Thu, 11 Dec 2008 11:11:21 +0000 (12:11 +0100)
commit2b895c3f35d3ead0e9409b59da94094c7873f96d
tree7970c1bae45b434a93b4672c6fb0f1325212bbdf
parentd9d38ca07d5187b3082074934e73f014f5d31409
i2c-highlander: Trivial endian casting fixes

Fixes sparse warnings:
drivers/i2c/busses/i2c-highlander.c:95:26: warning: incorrect type in argument 1 (different base types)
drivers/i2c/busses/i2c-highlander.c:95:26:    expected restricted __be16 const [usertype] *p
drivers/i2c/busses/i2c-highlander.c:95:26:    got unsigned short [usertype] *<noident>
drivers/i2c/busses/i2c-highlander.c:106:15: warning: incorrect type in assignment (different base types)
drivers/i2c/busses/i2c-highlander.c:106:15:    expected unsigned short [unsigned] [short] [usertype] <noident>
drivers/i2c/busses/i2c-highlander.c:106:15:    got restricted __be16

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Ben Dooks <ben-linux@fluff.org>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-highlander.c