summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2014-02-03 08:22:30 +0000
committerLee Jones <lee.jones@linaro.org>2014-02-19 13:30:25 +0000
commit8bace2d5b4baa0f60b6094b53aeb79515ec94e4a (patch)
tree653a53bff239a7225e50051c1fe167790d9463ae /include
parent05fb7a56ad65ceaa1907bb9c66bfa1108847667f (diff)
downloadlinux-8bace2d5b4baa0f60b6094b53aeb79515ec94e4a.tar.gz
linux-8bace2d5b4baa0f60b6094b53aeb79515ec94e4a.tar.bz2
linux-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')
-rw-r--r--include/linux/mfd/max8998-private.h2
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;
};