spi/atmel: Fix pointer to int conversion warnings on 64 bit builds
authorMark Brown <broonie@linaro.org>
Fri, 1 Aug 2014 16:43:03 +0000 (17:43 +0100)
committerMark Brown <broonie@linaro.org>
Fri, 1 Aug 2014 17:22:42 +0000 (18:22 +0100)
On 64 bit systems integers are generally still 32 bit but long values and
pointers are usually 64 bit. GCC warns when casting a 64 bit pointer into
a 32 bit integer so cast to a long instead in order to avoid warnings.

Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found