diff options
author | Lee Jones <lee.jones@linaro.org> | 2014-02-03 08:22:30 +0000 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-02-19 13:30:25 +0000 |
commit | 8bace2d5b4baa0f60b6094b53aeb79515ec94e4a (patch) | |
tree | 653a53bff239a7225e50051c1fe167790d9463ae /include/linux/mfd | |
parent | 05fb7a56ad65ceaa1907bb9c66bfa1108847667f (diff) | |
download | linux-stable-8bace2d5b4baa0f60b6094b53aeb79515ec94e4a.tar.gz linux-stable-8bace2d5b4baa0f60b6094b53aeb79515ec94e4a.tar.bz2 linux-stable-8bace2d5b4baa0f60b6094b53aeb79515ec94e4a.zip |
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>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/max8998-private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/max8998-private.h b/include/linux/mfd/max8998-private.h index 4ecb24b4b863..d68ada502ff3 100644 --- a/include/linux/mfd/max8998-private.h +++ b/include/linux/mfd/max8998-private.h @@ -163,7 +163,7 @@ struct max8998_dev { int ono; u8 irq_masks_cur[MAX8998_NUM_IRQ_REGS]; u8 irq_masks_cache[MAX8998_NUM_IRQ_REGS]; - int type; + unsigned long type; bool wakeup; }; |