mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/5] regulator: anatop: Make of_device_id array const
@ 2014-05-07  7:55 Jingoo Han
  2014-05-07  8:06 ` [PATCH 2/5] regulator: max8952: " Jingoo Han
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Jingoo Han @ 2014-05-07  7:55 UTC (permalink / raw)
  To: 'Mark Brown'
  Cc: 'Liam Girdwood', linux-kernel, 'Jingoo Han',
	'Philipp Zabel', 'Shawn Guo'

Make of_device_id array const, because all OF functions
handle it as const.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 drivers/regulator/anatop-regulator.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/regulator/anatop-regulator.c b/drivers/regulator/anatop-regulator.c
index 7c397bb..4f730af 100644
--- a/drivers/regulator/anatop-regulator.c
+++ b/drivers/regulator/anatop-regulator.c
@@ -300,7 +300,7 @@ static int anatop_regulator_probe(struct platform_device *pdev)
 	return 0;
 }
 
-static struct of_device_id of_anatop_regulator_match_tbl[] = {
+static const struct of_device_id of_anatop_regulator_match_tbl[] = {
 	{ .compatible = "fsl,anatop-regulator", },
 	{ /* end */ }
 };
-- 
1.7.10.4



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

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

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-07  7:55 [PATCH 1/5] regulator: anatop: Make of_device_id array const Jingoo Han
2014-05-07  8:06 ` [PATCH 2/5] regulator: max8952: " Jingoo Han
2014-05-07  8:42   ` Krzysztof Kozlowski
2014-05-07  8:07 ` [PATCH 3/5] regulator: palmas: " Jingoo Han
2014-05-07  8:08 ` [PATCH 4/5] regulator: st-pwm: " Jingoo Han
2014-05-07  8:09 ` [PATCH 5/5] regulator: vexpress: " Jingoo Han
2014-05-07  8:12   ` Pawel Moll
2014-05-07 19:55 ` [PATCH 1/5] regulator: anatop: " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome