aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-i2c-drv-legacy.h
diff options
context:
space:
mode:
authorMark M. Hoffman <mhoffman@lightlink.com>2008-01-27 12:14:46 -0500
committerJean Delvare <khali@hyperion.delvare>2008-01-27 12:14:46 -0500
commitbfb6df24facfde7ec6191edbba798777efb3c375 (patch)
tree474d907bad7e11e0595183cfa39197e03d85e6d5 /include/media/v4l2-i2c-drv-legacy.h
parent6408a8338c63e2beb50e8128814cbc1170390d3a (diff)
i2c: Constify client address data
This patch allows much of the I2C client address data to move from initdata into text. Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'include/media/v4l2-i2c-drv-legacy.h')
-rw-r--r--include/media/v4l2-i2c-drv-legacy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/v4l2-i2c-drv-legacy.h b/include/media/v4l2-i2c-drv-legacy.h
index 241854229d6f..e7645578fc22 100644
--- a/include/media/v4l2-i2c-drv-legacy.h
+++ b/include/media/v4l2-i2c-drv-legacy.h
@@ -34,7 +34,7 @@ struct v4l2_i2c_driver_data {
34}; 34};
35 35
36static struct v4l2_i2c_driver_data v4l2_i2c_data; 36static struct v4l2_i2c_driver_data v4l2_i2c_data;
37static struct i2c_client_address_data addr_data; 37static const struct i2c_client_address_data addr_data;
38static struct i2c_driver v4l2_i2c_driver_legacy; 38static struct i2c_driver v4l2_i2c_driver_legacy;
39static char v4l2_i2c_drv_name_legacy[32]; 39static char v4l2_i2c_drv_name_legacy[32];
40 40