diff options
author | Jayachandran C <jchandra@broadcom.com> | 2013-02-18 21:33:19 +0000 |
---|---|---|
committer | Wolfram Sang <wolfram@the-dreams.de> | 2013-02-21 10:18:41 +0100 |
commit | 6beaddf243b2d4bbc9165fbd89429fa1a7526af1 (patch) | |
tree | 50e2dfbbfe601730a01a5502993ff838aa02c99d /fs/drop_caches.c | |
parent | 58823c72f6b95414fa11cb8a0e5f1d0e548c2f34 (diff) | |
download | linux-6beaddf243b2d4bbc9165fbd89429fa1a7526af1.tar.bz2 |
i2c: ocores: Fix pointer to integer cast warning
After commit a000b8c1 [i2c: ocores: Add support for the GRLIB port of the
controller and use function pointers for getreg and setreg function],
compiling i2c-ocores.c for 64-bit gives the following warning:
drivers/i2c/busses/i2c-ocores.c: In function 'ocores_i2c_of_probe':
drivers/i2c/busses/i2c-ocores.c:334:15: warning: cast from pointer to integer of different size
Fix it by casting the pointer to long.
Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Acked-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'fs/drop_caches.c')
0 files changed, 0 insertions, 0 deletions