Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1206552b authored by Axel Lin's avatar Axel Lin Committed by Samuel Ortiz
Browse files

mfd: Constify i2c_device_id tables



Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarHarald Welte <laforge@gnumonks.org>
Cc: Matti Aaltonen <matti.j.aaltonen@nokia.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent adfa4bd4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -356,7 +356,7 @@ static int __devexit pcf50633_remove(struct i2c_client *client)
	return 0;
	return 0;
}
}


static struct i2c_device_id pcf50633_id_table[] = {
static const struct i2c_device_id pcf50633_id_table[] = {
	{"pcf50633", 0x73},
	{"pcf50633", 0x73},
	{/* end of list */}
	{/* end of list */}
};
};
+1 −1
Original line number Original line Diff line number Diff line
@@ -25,7 +25,7 @@


#define DRIVER_DESC "WL1273 FM Radio Core"
#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 },
	{ WL1273_FM_DRIVER_NAME, 0 },
	{ }
	{ }
};
};