i2c: Constify i2c_algorithm declarations, part 2

i2c: Constify i2c_algorithm declarations, part 2

Make struct i2c_algorithm declarations const in all i2c bus drivers
where it is possible.

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>
Tento commit je obsažen v:
Jean Delvare
2006-09-03 22:39:46 +02:00
odevzdal Greg Kroah-Hartman
rodič 9e11a9fbfe
revize 8f9082c5ce
27 změnil soubory, kde provedl 27 přidání a 27 odebrání

Zobrazit soubor

@@ -450,7 +450,7 @@ exit:
}
static struct i2c_algorithm smbus_algorithm = {
static const struct i2c_algorithm smbus_algorithm = {
.smbus_xfer = sis630_access,
.functionality = sis630_func,
};