Commit 5f155ee1 authored by Jingoo Han's avatar Jingoo Han Committed by Dmitry Torokhov

Input: rotary_encoder - make of_device_id array const

Make of_device_id array const, because all OF functions handle it as const.
Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 355b9115
...@@ -143,7 +143,7 @@ static irqreturn_t rotary_encoder_half_period_irq(int irq, void *dev_id) ...@@ -143,7 +143,7 @@ static irqreturn_t rotary_encoder_half_period_irq(int irq, void *dev_id)
} }
#ifdef CONFIG_OF #ifdef CONFIG_OF
static struct of_device_id rotary_encoder_of_match[] = { static const struct of_device_id rotary_encoder_of_match[] = {
{ .compatible = "rotary-encoder", }, { .compatible = "rotary-encoder", },
{ }, { },
}; };
......
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