summaryrefslogtreecommitdiff
path: root/drivers/mfd/stmpe.h
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2014-07-02 14:54:32 +0400
committerLee Jones <lee.jones@linaro.org>2014-07-09 19:37:55 +0400
commitc00572bc94684a61628a7f6f34f5ce64345742cc (patch)
treea99495b701316c554a049cfa1133d63368f06920 /drivers/mfd/stmpe.h
parent52764fd9ab5e1fa0d7e159ce6147d0288be595a7 (diff)
downloadlinux-c00572bc94684a61628a7f6f34f5ce64345742cc.tar.xz
mfd: stmpe: Rid data size incompatibility warn when building for 64bit
Extinguishes: ../drivers/mfd/stmpe-i2c.c: In function ‘stmpe_i2c_probe’: ../drivers/mfd/stmpe-i2c.c:88:13: warning: cast from pointer to integer of different size partnum = (int)of_id->data; Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/stmpe.h')
-rw-r--r--drivers/mfd/stmpe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/stmpe.h b/drivers/mfd/stmpe.h
index 9e4d21d37a11..2d045f26f193 100644
--- a/drivers/mfd/stmpe.h
+++ b/drivers/mfd/stmpe.h
@@ -97,7 +97,7 @@ struct stmpe_client_info {
void (*init)(struct stmpe *stmpe);
};
-int stmpe_probe(struct stmpe_client_info *ci, int partnum);
+int stmpe_probe(struct stmpe_client_info *ci, enum stmpe_partnum partnum);
int stmpe_remove(struct stmpe *stmpe);
#define STMPE_ICR_LSB_HIGH (1 << 2)