commit | 5f1b11555ef21fb3a8a9d21a2e5914e2bc1b9d9b | [log] [tgz] |
---|---|---|
author | Pankaj Dubey <pankaj.dubey@samsung.com> | Wed Jan 15 10:42:42 2014 +0900 |
committer | Wolfram Sang <wsa@the-dreams.de> | Thu Jan 16 11:18:24 2014 +0100 |
tree | be748241a26cb28e02ffa1ab96d4ee3ba06da0ce | |
parent | d1ccc125f348ff31dd7954ae718e73ba1c884da9 [diff] |
i2c: s3c2410: fix quirk usage for 64-bit If used 64 bit compiler GCC warns that: drivers/i2c/busses/i2c-s3c2410.c: In function ‘s3c24xx_get_device_quirks’: drivers/i2c/busses/i2c-s3c2410.c:168:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] This patch fixes this by converting "unsigned int" to "kernel_ulong_t". Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>