Skip to content

Commit

Permalink
mfd: Constify i2c_device_id tables
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Harald Welte <laforge@gnumonks.org>
Cc: Matti Aaltonen <matti.j.aaltonen@nokia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Axel Lin authored and Samuel Ortiz committed Mar 26, 2011
1 parent adfa4bd commit 1206552
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/mfd/pcf50633-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */}
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/wl1273-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
{ }
};
Expand Down

0 comments on commit 1206552

Please sign in to comment.