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:
01d7004
)
gpio: mcp23s08: fix casting caused build warning
author
SeongJae Park
<sj38.park@gmail.com>
Sat, 18 Jan 2014 04:53:04 +0000
(13:53 +0900)
committer
Linus Walleij
<linus.walleij@linaro.org>
Mon, 20 Jan 2014 08:10:03 +0000
(09:10 +0100)
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mcp23s08.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-mcp23s08.c
b/drivers/gpio/gpio-mcp23s08.c
index ef3fd48aca3b22ccadec8d29685b02052328f9b1..1ac288ea810d9950d1a37520ef9aa7edbf38ce60 100644
(file)
--- a/
drivers/gpio/gpio-mcp23s08.c
+++ b/
drivers/gpio/gpio-mcp23s08.c
@@
-878,7
+878,7
@@
static int mcp23s08_probe(struct spi_device *spi)
match = of_match_device(of_match_ptr(mcp23s08_spi_of_match), &spi->dev);
if (match) {
- type = (int)match->data;
+ type = (int)
(uintptr_t)
match->data;
status = of_property_read_u32(spi->dev.of_node,
"microchip,spi-present-mask", &spi_present_mask);
if (status) {