mfd: Constify i2c_device_id tables

Signed-off-by: Axel Lin <[email protected]>
Acked-by: Harald Welte <[email protected]>
Cc: Matti Aaltonen <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
Axel Lin 2011-03-23 20:54:17 +08:00 • committed by Samuel Ortiz
commit 1206552b02
2 changed files with 2 additions and 2 deletions

View file

@ -356,7 +356,7 @@ static int __devexit pcf50633_remove(struct i2c_client *client)
return 0;
}
static struct i2c_device_id pcf50633_id_table[] = {
static const struct i2c_device_id pcf50633_id_table[] = {
{"pcf50633", 0x73},
{/* end of list */}
};

View file

@ -25,7 +25,7 @@
#define DRIVER_DESC "WL1273 FM Radio Core"
static struct i2c_device_id wl1273_driver_id_table[] = {
static const struct i2c_device_id wl1273_driver_id_table[] = {
{ WL1273_FM_DRIVER_NAME, 0 },
{ }
};