]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - Documentation/i2c/writing-clients
i2c: Constify i2c_get_clientdata's parameter
[linux-2.6-omap-h63xx.git] / Documentation / i2c / writing-clients
index d73ee117a8caecfaf0585aeb4239c27828a7b5df..3b01350c149c1f8df798c45bb0b511fa8eb8e765 100644 (file)
@@ -83,7 +83,7 @@ be very useful.
        void i2c_set_clientdata(struct i2c_client *client, void *data);
 
        /* retrieve the value */
-       void *i2c_get_clientdata(struct i2c_client *client);
+       void *i2c_get_clientdata(const struct i2c_client *client);
 
 An example structure is below.