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

index 960d44f2ee030f35f7579bb2f0784d0694f53d73..cd05bca2fec546abec2c68ba5b6ff0f909ee7773 100755 (executable)
@@ -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