ASoC: imx-audmux: Use uintptr_t for port numbers

commit e5f89768e9 upstream.

Since we pass the port number through file private data for debugfs we cast
it to and from a pointer so use uintptr_t in order to ensure that the
types are compatible, avoiding warnings on 64 bit platforms where pointers
are 64 bit and unsigned integers 32 bit.

Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Mark Brown 2014-08-01 17:55:55 +01:00 • committed by Ben Hutchings
commit 7ee8387b6f