]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
i2c-pmcmsp: Fix endianness misannotation
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 11 Dec 2008 11:11:20 +0000 (12:11 +0100)
committerJean Delvare <khali@linux-fr.org>
Thu, 11 Dec 2008 11:11:20 +0000 (12:11 +0100)
commitd9d38ca07d5187b3082074934e73f014f5d31409
tree39a664638e4051eb1f91a02f4676cf5c81269cae
parent6c34bc2976b30dc8b56392c020e25bae1f363cab
i2c-pmcmsp: Fix endianness misannotation

tmp is used as host-endian and is loaded from a be64, fix the cast and the
endian accessor used.

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>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-pmcmsp.c