提交 1206552b 编写于 作者: A Axel Lin 提交者: Samuel Ortiz

mfd: Constify i2c_device_id tables

Signed-off-by: NAxel Lin <axel.lin@gmail.com>
Acked-by: NHarald Welte <laforge@gnumonks.org>
Cc: Matti Aaltonen <matti.j.aaltonen@nokia.com>
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 adfa4bd4
......@@ -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 */}
};
......
......@@ -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 },
{ }
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册