mfd: Constify i2c_device_id tables
authorAxel Lin <axel.lin@gmail.com>
Wed, 23 Mar 2011 12:54:17 +0000 (20:54 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Sat, 26 Mar 2011 23:09:32 +0000 (00:09 +0100)
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>
drivers/mfd/pcf50633-core.c
drivers/mfd/wl1273-core.c

index c1306ed43e3c10cf0c7f69a95dabcf0ecdbc6bd0..c7687f6a78a0ef9d1799801f667689ca2b214124 100644 (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 */}
 };
index f76f6c798046434baeb0dddea523de6b05158d0a..04914f2836c0ad3d22a97d2787d789a1f34e1ae9 100644 (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 },
        { }
 };