iio: introduce type casts to avoid __ucmpdi2 calls
authorMichael Hennerich <michael.hennerich@analog.com>
Tue, 25 Oct 2011 08:51:04 +0000 (10:51 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 00:28:56 +0000 (16:28 -0800)
This patch type casts the switch control variable to 32 bits in order to
prevent a call __ucmpdi2 generated by some versions of gcc.

This fixes an undefined reference to `__ucmpdi2' when compiled for arch/blackfin

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found