mfd: Constify i2c_device_id tables
PATCH 1/1 mfd: Constify i2c_device_id tables
Signed-off-by Axel Lin <[email protected]>
Cc Harald Welte <[email protected]>
Cc Matti Aaltonen <[email protected]>
--- drivers/mfd/pcf50633-core.c | 2 +- drivers/mfd/wl1273-core.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/mfd/pcf50633-core.c +1 -1
@@ -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 */ } };
drivers/mfd/wl1273-core.c +1 -1
@@ -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 }, { } };
Signature · 1 line
1.7.1
Hi Axel and others,
thanks for your patch.
Quoted 3 lines · Axel Lin
Signed-off-by Axel Lin <[email protected]>Cc Harald Welte <[email protected]>Cc Matti Aaltonen <[email protected]>
Acked-by Harald Welte <[email protected]>
Signature · 4 lines
- Harald Welte <[email protected]> http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)