mmc: sh_mmcif: Fix compilation warning on 64-bit platforms
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 30 Oct 2013 11:34:52 +0000 (12:34 +0100)
committerChris Ball <chris@printf.net>
Mon, 13 Jan 2014 17:48:26 +0000 (12:48 -0500)
commit538f4696bb75c7da4c7c88a7ce011b51c5fb260c
tree73586bc0cf1ea257e1e1a17a4eb123e5b6bc1534
parente5a233cb647d749de2f188477c9a54b94d90477f
mmc: sh_mmcif: Fix compilation warning on 64-bit platforms

Casting an integer to a void * generates a "cast to pointer from integer
of different size" warning. Cast the integer to an unsigned long first
to fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mmcif.c