aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/rotary_encoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/misc/rotary_encoder.c')
-rw-r--r--drivers/input/misc/rotary_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/rotary_encoder.c b/drivers/input/misc/rotary_encoder.c
index 99b9e42aa748..93558a1c7f70 100644
--- a/drivers/input/misc/rotary_encoder.c
+++ b/drivers/input/misc/rotary_encoder.c
@@ -143,7 +143,7 @@ static irqreturn_t rotary_encoder_half_period_irq(int irq, void *dev_id)
143} 143}
144 144
145#ifdef CONFIG_OF 145#ifdef CONFIG_OF
146static struct of_device_id rotary_encoder_of_match[] = { 146static const struct of_device_id rotary_encoder_of_match[] = {
147 { .compatible = "rotary-encoder", }, 147 { .compatible = "rotary-encoder", },
148 { }, 148 { },
149}; 149};