aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/algos/i2c-algo-pcf.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2006-09-03 22:38:52 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2006-09-26 15:38:52 -0700
commit9e11a9fbfe48a2f65188aae64bf4f690e40ea2f4 (patch)
treec5217391e5e69ff4a176feb8f203ae5c0d0359bb /drivers/i2c/algos/i2c-algo-pcf.c
parentaf71ff690b92894f66ccede27f731150dc10d80d (diff)
downloadkernel_samsung_aries-9e11a9fbfe48a2f65188aae64bf4f690e40ea2f4.zip
kernel_samsung_aries-9e11a9fbfe48a2f65188aae64bf4f690e40ea2f4.tar.gz
kernel_samsung_aries-9e11a9fbfe48a2f65188aae64bf4f690e40ea2f4.tar.bz2
i2c: Constify i2c_algorithm declarations, part 1
i2c: Constify i2c_algorithm declarations, part 1 Make struct i2c_algorithm declarations const in all i2c algorithm drivers. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-pcf.c')
-rw-r--r--drivers/i2c/algos/i2c-algo-pcf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/algos/i2c-algo-pcf.c b/drivers/i2c/algos/i2c-algo-pcf.c
index 5b24930..3b20033 100644
--- a/drivers/i2c/algos/i2c-algo-pcf.c
+++ b/drivers/i2c/algos/i2c-algo-pcf.c
@@ -458,7 +458,7 @@ static u32 pcf_func(struct i2c_adapter *adap)
/* -----exported algorithm data: ------------------------------------- */
-static struct i2c_algorithm pcf_algo = {
+static const struct i2c_algorithm pcf_algo = {
.master_xfer = pcf_xfer,
.functionality = pcf_func,
};