]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mfd: wm8994-core: Naturalise cross-architecture discrepancies
authorLee Jones <lee.jones@linaro.org>
Thu, 23 Jan 2014 14:47:13 +0000 (14:47 +0000)
committerLee Jones <lee.jones@linaro.org>
Wed, 19 Feb 2014 13:30:27 +0000 (13:30 +0000)
commit7f8279ce04589a2e0f29b865c3af40609b0ea08d
tree20f722237443971b80eae9bfdf2f42298226eb3d
parent8bace2d5b4baa0f60b6094b53aeb79515ec94e4a
mfd: wm8994-core: Naturalise cross-architecture discrepancies

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

drivers/mfd/wm8994-core.c: In function ‘wm8994_i2c_probe’:
drivers/mfd/wm8994-core.c:639:19:
  warning: cast from pointer to integer of different size
    wm8994->type = (int)of_id->data;
                   ^

Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/wm8994-core.c