[PATCH] i2c: Mark block write buffers as const
authorKrzysztof Halasa <khc@pm.waw.pl>
Mon, 12 Jun 2006 19:42:20 +0000 (21:42 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Jun 2006 18:10:34 +0000 (11:10 -0700)
commit46f5ed753fac512f73069bd07455555b41a8a06e
treefd36fabe80349967a71efa373e2ad42c12b1af3b
parent1ded969fb97fba33e7310ef95f0b3e3123d4d92a
[PATCH] i2c: Mark block write buffers as const

The attached patch marks i2c_smbus_write_block_data() and
i2c_smbus_write_i2c_block_data() buffers as const.

Signed-off-by: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/i2c-core.c
include/linux/i2c.h