commit | e15fbc91a4304a977ed99c3eb21bab7015e86c11 | [log] [tgz] |
---|---|---|
author | Michael Hennerich <michael.hennerich@analog.com> | Tue Oct 25 10:51:04 2011 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Sat Nov 26 16:28:56 2011 -0800 |
tree | b1cfbe3c7800f9f9192ea4a3a7e6a9df2e049d07 | |
parent | 53b99be7647bc1d821a817c58d1504547ca0c75f [diff] |
iio: introduce type casts to avoid __ucmpdi2 calls 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>