Commit 2ae69a46 authored by Thierry Reding's avatar Thierry Reding

pwm: pxa: Constify OF match table

The table is never modified and all OF functions that use it take a
const struct of_device_id *.
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent fdec4f72
......@@ -132,7 +132,7 @@ static struct pwm_ops pxa_pwm_ops = {
* code that this is a single channel pxa25x-pwm. Currently all devices are
* supported identically.
*/
static struct of_device_id pwm_of_match[] = {
static const struct of_device_id pwm_of_match[] = {
{ .compatible = "marvell,pxa250-pwm", .data = &pwm_id_table[0]},
{ .compatible = "marvell,pxa270-pwm", .data = &pwm_id_table[0]},
{ .compatible = "marvell,pxa168-pwm", .data = &pwm_id_table[0]},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment