endian: fix le64toh()

This change was sitting in my git index, and I
failed to push it in the original patch.

Change-Id: If6f49c3c2b7908f93a99c23a80536ad5937959c7
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/11622
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Tested-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Aaron Durbin 2015-09-10 22:27:55 -05:00
parent 71a7ba2e5d
commit 113d821696
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ static inline uint64_t be64toh(uint64_t big_endian_64bits)
static inline uint64_t le64toh(uint64_t little_endian_64bits)
{
return le16_to_cpu(little_endian_64bits);
return le64_to_cpu(little_endian_64bits);
}
#endif