浏览代码

Input: cy8ctmg110_ts - constify i2c_device_id table

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Axel Lin 14 年之前
父节点
当前提交
d448303a77
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/input/touchscreen/cy8ctmg110_ts.c

+ 1 - 1
drivers/input/touchscreen/cy8ctmg110_ts.c

@@ -328,7 +328,7 @@ static int __devexit cy8ctmg110_remove(struct i2c_client *client)
 	return 0;
 	return 0;
 }
 }
 
 
-static struct i2c_device_id cy8ctmg110_idtable[] = {
+static const struct i2c_device_id cy8ctmg110_idtable[] = {
 	{ CY8CTMG110_DRIVER_NAME, 1 },
 	{ CY8CTMG110_DRIVER_NAME, 1 },
 	{ }
 	{ }
 };
 };