tpm: Add casts for proper compilation
authorTaylor Hutt <thutt@chromium.org>
Fri, 12 Apr 2013 10:44:56 +0000 (10:44 +0000)
committerSimon Glass <sjg@chromium.org>
Fri, 12 Apr 2013 21:12:51 +0000 (14:12 -0700)
commitaf98a70a6bb54513713e4d7e55681dfdbf2b149a
treec64a371c3d1fdb3f5a563f5087f97ded028e4d93
parent785881f775252940185e10fbb2d5299c9ffa6bce
tpm: Add casts for proper compilation

When building for the Sandbox version, the casts in this change are
necessary to avoid compilation issues.

Signed-off-by: Taylor Hutt <thutt@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/tpm/generic_lpc_tpm.c