aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/samsung
diff options
context:
space:
mode:
authorPankaj Dubey <pankaj.dubey@samsung.com>2014-03-13 11:14:07 +0900
committerLee Jones <lee.jones@linaro.org>2014-03-18 10:50:20 +0000
commit8f695de515b9e08e30c5b7fae48c0672c8361c51 (patch)
treef1e05c54a02d0bafc210879108a49ce77b72115b /include/linux/mfd/samsung
parentmfd: sec-core: Fix possible NULL pointer dereference when i2c_new_dummy error (diff)
downloadlinux-dev-8f695de515b9e08e30c5b7fae48c0672c8361c51.tar.xz
linux-dev-8f695de515b9e08e30c5b7fae48c0672c8361c51.zip
mfd: sec-core: Silence compiler warning
When used 64bit compiler GCC warns as drivers/mfd/sec-core.c:199:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/samsung')
-rw-r--r--include/linux/mfd/samsung/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/samsung/core.h b/include/linux/mfd/samsung/core.h
index 8e9bbb1083d4..5073d81660e7 100644
--- a/include/linux/mfd/samsung/core.h
+++ b/include/linux/mfd/samsung/core.h
@@ -51,7 +51,7 @@ struct sec_pmic_dev {
struct regmap_irq_chip_data *irq_data;
int ono;
- int type;
+ unsigned long type;
bool wakeup;
bool wtsr_smpl;
};