diff options
author | Pankaj Dubey <pankaj.dubey@samsung.com> | 2014-03-13 11:14:07 +0900 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-03-18 10:50:20 +0000 |
commit | 8f695de515b9e08e30c5b7fae48c0672c8361c51 (patch) | |
tree | f1e05c54a02d0bafc210879108a49ce77b72115b /include | |
parent | 65aba1e04916d72b30c028730a1e31860c225412 (diff) | |
download | linux-stable-8f695de515b9e08e30c5b7fae48c0672c8361c51.tar.gz linux-stable-8f695de515b9e08e30c5b7fae48c0672c8361c51.tar.bz2 linux-stable-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')
-rw-r--r-- | include/linux/mfd/samsung/core.h | 2 |
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; }; |