projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ece646
)
regulator: bd718xx: fix build warning on x86_64
author
Matti Vaittinen
<
[email protected]
>
Tue, 2 Oct 2018 07:16:50 +0000
(10:16 +0300)
committer
Mark Brown
<
[email protected]
>
Tue, 2 Oct 2018 14:58:11 +0000
(15:58 +0100)
Casting address to unsigned int causes a warning on some 64 bit
architectures. Fix the cast.
Signed-off-by: Matti Vaittinen <
[email protected]
>
Reported-by: Stephen Rothwell <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
drivers/mfd/rohm-bd718x7.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/rohm-bd718x7.c
b/drivers/mfd/rohm-bd718x7.c
index 161c8aac6d86209a1db29b9a9cdaa53730f2a5e0..a29d529a96f4af7e4a389da280cf7d691c6845dc 100644
(file)
--- a/
drivers/mfd/rohm-bd718x7.c
+++ b/
drivers/mfd/rohm-bd718x7.c
@@
-98,7
+98,7
@@
static int bd718xx_i2c_probe(struct i2c_client *i2c,
return -ENOMEM;
bd718xx->chip_irq = i2c->irq;
- bd718xx->chip_type = (unsigned int)
+ bd718xx->chip_type = (unsigned int)
(uintptr_t)
of_device_get_match_data(&i2c->dev);
bd718xx->dev = &i2c->dev;
dev_set_drvdata(&i2c->dev, bd718xx);