]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: max8998: Naturalise cross-architecture discrepancies
authorLee Jones <lee.jones@linaro.org>
Mon, 3 Feb 2014 08:22:30 +0000 (08:22 +0000)
committerLee Jones <lee.jones@linaro.org>
Wed, 19 Feb 2014 13:30:25 +0000 (13:30 +0000)
commit97764050227f6e56f34514405429c0b4127b9a73
tree653a53bff239a7225e50051c1fe167790d9463ae
parentf2f5f6d253dd52c8795a41a9824921bd1a77ea8a
mfd: max8998: Naturalise cross-architecture discrepancies

If we compile the MAX8998 for a 64bit architecture we receive the following
warnings:

  drivers/mfd/max8998.c: In function ‘max8998_i2c_get_driver_data’:
  drivers/mfd/max8998.c:178:10:
    warning: cast from pointer to integer of different size
     return (int)match->data;
            ^

Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/max8998.c
include/linux/mfd/max8998-private.h