[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <01f601cf69cd$981f3d30$c85db790$%han@samsung.com>
Date: Wed, 07 May 2014 17:23:15 +0900
From: Jingoo Han <jg1.han@...sung.com>
To: 'Lee Jones' <lee.jones@...aro.org>
Cc: linux-kernel@...r.kernel.org,
'Samuel Ortiz' <sameo@...ux.intel.com>,
'Jingoo Han' <jg1.han@...sung.com>,
'Mike Rapoport' <mike.rapoport@...ellosystems.com>
Subject: [PATCH 3/4] mfd: tps6586x: Make of_device_id array const
Make of_device_id array const, because all OF functions
handle it as const.
Signed-off-by: Jingoo Han <jg1.han@...sung.com>
---
drivers/mfd/tps6586x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/tps6586x.c b/drivers/mfd/tps6586x.c
index bbd5441..ccd7082 100644
--- a/drivers/mfd/tps6586x.c
+++ b/drivers/mfd/tps6586x.c
@@ -444,7 +444,7 @@ static struct tps6586x_platform_data *tps6586x_parse_dt(struct i2c_client *clien
return pdata;
}
-static struct of_device_id tps6586x_of_match[] = {
+static const struct of_device_id tps6586x_of_match[] = {
{ .compatible = "ti,tps6586x", },
{ },
};
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists