i2c: s3c2410: fix quirk usage for 64-bit
authorPankaj Dubey <pankaj.dubey@samsung.com>
Wed, 15 Jan 2014 01:42:42 +0000 (10:42 +0900)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 16 Jan 2014 10:18:24 +0000 (11:18 +0100)
commit5f1b11555ef21fb3a8a9d21a2e5914e2bc1b9d9b
treebe748241a26cb28e02ffa1ab96d4ee3ba06da0ce
parentd1ccc125f348ff31dd7954ae718e73ba1c884da9
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>
drivers/i2c/busses/i2c-s3c2410.c