summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2014-07-24 17:07:16 +0100
committerLee Jones <lee.jones@linaro.org>2014-07-25 15:31:48 +0100
commitec8bd56699cb4371994437583a285b855b6f5e3a (patch)
tree048f2fee779efb43998f56a058cfd3cca412c372 /include/linux/mfd
parenta259f3896a39ec7cbcd5f630a6ec95bdcbc080d2 (diff)
mfd: max77686: Ensure device type IDs are architecture agnostic
Extinguishes: ../drivers/mfd/max77686.c: In function ‘max77686_i2c_probe’: ../drivers/mfd/max77686.c:254:20: warning: cast from pointer to integer of different size Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/max77686-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/max77686-private.h b/include/linux/mfd/max77686-private.h
index 0d60b38e5b5..960b92ad450 100644
--- a/include/linux/mfd/max77686-private.h
+++ b/include/linux/mfd/max77686-private.h
@@ -439,7 +439,7 @@ struct max77686_dev {
struct i2c_client *i2c; /* 0xcc / PMIC, Battery Control, and FLASH */
struct i2c_client *rtc; /* slave addr 0x0c */
- int type;
+ unsigned long type;
struct regmap *regmap; /* regmap for mfd */
struct regmap *rtc_regmap; /* regmap for rtc */