linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/16] mfd: max14577: Make mfd_cell array const
@ 2014-05-13 10:58 Krzysztof Kozlowski
  2014-05-13 10:58 ` [PATCH 02/16] mfd: max14577: Make of_device_id " Krzysztof Kozlowski
                   ` (15 more replies)
  0 siblings, 16 replies; 39+ messages in thread
From: Krzysztof Kozlowski @ 2014-05-13 10:58 UTC (permalink / raw)
  To: Samuel Ortiz, Lee Jones, linux-kernel; +Cc: Krzysztof Kozlowski

mfd_add_devices() expects array of struct mfd_cell to be const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
 drivers/mfd/max14577.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c
index 484d372a4892..39b658d6497b 100644
--- a/drivers/mfd/max14577.c
+++ b/drivers/mfd/max14577.c
@@ -26,7 +26,7 @@
 #include <linux/mfd/max14577.h>
 #include <linux/mfd/max14577-private.h>
 
-static struct mfd_cell max14577_devs[] = {
+static const struct mfd_cell max14577_devs[] = {
 	{
 		.name = "max14577-muic",
 		.of_compatible = "maxim,max14577-muic",
@@ -38,7 +38,7 @@ static struct mfd_cell max14577_devs[] = {
 	{ .name = "max14577-charger", },
 };
 
-static struct mfd_cell max77836_devs[] = {
+static const struct mfd_cell max77836_devs[] = {
 	{
 		.name = "max77836-muic",
 		.of_compatible = "maxim,max77836-muic",
@@ -292,7 +292,7 @@ static int max14577_i2c_probe(struct i2c_client *i2c,
 	struct device_node *np = i2c->dev.of_node;
 	int ret = 0;
 	const struct regmap_irq_chip *irq_chip;
-	struct mfd_cell *mfd_devs;
+	const struct mfd_cell *mfd_devs;
 	unsigned int mfd_devs_size;
 	int irq_flags;
 
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2014-05-19  8:33 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-13 10:58 [PATCH 01/16] mfd: max14577: Make mfd_cell array const Krzysztof Kozlowski
2014-05-13 10:58 ` [PATCH 02/16] mfd: max14577: Make of_device_id " Krzysztof Kozlowski
2014-05-19  8:28   ` Lee Jones
2014-05-13 10:58 ` [PATCH 03/16] mfd: ipaq-micro: Make mfd_cell " Krzysztof Kozlowski
2014-05-16 13:37   ` Linus Walleij
2014-05-19  8:24   ` Lee Jones
2014-05-13 10:58 ` [PATCH 04/16] mfd: db8500-prcmu: " Krzysztof Kozlowski
2014-05-16 13:37   ` Linus Walleij
2014-05-19  8:24   ` Lee Jones
2014-05-13 10:58 ` [PATCH 05/16] mfd: kempld-core: " Krzysztof Kozlowski
2014-05-14 21:12   ` kevin.strasser
2014-05-19  8:25   ` Lee Jones
2014-05-13 10:58 ` [PATCH 06/16] mfd: lp3943: " Krzysztof Kozlowski
2014-05-13 14:55   ` Milo Kim
2014-05-19  8:26   ` Lee Jones
2014-05-13 10:58 ` [PATCH 07/16] mfd: rtsx_usb: " Krzysztof Kozlowski
2014-05-15  9:17   ` Roger
2014-05-19  8:25   ` Lee Jones
2014-05-13 10:58 ` [PATCH 08/16] mfd: wm8400-core: " Krzysztof Kozlowski
2014-05-13 11:35   ` Charles Keepax
2014-05-19  8:26   ` Lee Jones
2014-05-13 10:58 ` [PATCH 09/16] mfd: sec-core: Make of_device_id " Krzysztof Kozlowski
2014-05-19  8:33   ` Lee Jones
2014-05-13 10:58 ` [PATCH 10/16] mfd: omap-usb-host: " Krzysztof Kozlowski
2014-05-19  8:32   ` Lee Jones
2014-05-13 10:58 ` [PATCH 11/16] mfd: max8998: " Krzysztof Kozlowski
2014-05-19  8:31   ` Lee Jones
2014-05-13 10:58 ` [PATCH 12/16] mfd: max8997: " Krzysztof Kozlowski
2014-05-19  8:31   ` Lee Jones
2014-05-13 10:58 ` [PATCH 13/16] mfd: as3711: " Krzysztof Kozlowski
2014-05-19  8:27   ` Lee Jones
2014-05-13 10:58 ` [PATCH 14/16] mfd: max77686: " Krzysztof Kozlowski
2014-05-19  8:28   ` Lee Jones
2014-05-13 10:58 ` [PATCH 15/16] mfd: max77693: " Krzysztof Kozlowski
2014-05-13 11:42   ` Chanwoo Choi
2014-05-19  8:26   ` Lee Jones
2014-05-13 10:58 ` [PATCH 16/16] mfd: max8907: " Krzysztof Kozlowski
2014-05-19  8:27   ` Lee Jones
2014-05-19  8:23 ` [PATCH 01/16] mfd: max14577: Make mfd_cell " Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).