projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a712795
)
input: sensor-dev: fix compilation error on arm64
author
黄涛
<huangtao@rock-chips.com>
Thu, 23 Oct 2014 09:01:49 +0000
(17:01 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Thu, 23 Oct 2014 09:01:49 +0000
(17:01 +0800)
drivers/input/sensors/sensor-dev.c
patch
|
blob
|
history
diff --git
a/drivers/input/sensors/sensor-dev.c
b/drivers/input/sensors/sensor-dev.c
index 960d44f2ee030f35f7579bb2f0784d0694f53d73..cd05bca2fec546abec2c68ba5b6ff0f909ee7773 100755
(executable)
--- a/
drivers/input/sensors/sensor-dev.c
+++ b/
drivers/input/sensors/sensor-dev.c
@@
-1656,7
+1656,7
@@
int sensor_probe(struct i2c_client *client, const struct i2c_device_id *devid)
int result = 0;
\r
int type = 0;
\r
\r
- dev_info(&client->adapter->dev, "%s: %s,
0x%x\n", __func__, devid->name,(unsigned int)
client);
\r
+ dev_info(&client->adapter->dev, "%s: %s,
%p\n", __func__, devid->name,
client);
\r
\r
if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
\r
result = -ENODEV;
\r