Merge git://git.kvack.org/~bcrl/aio-next
[firefly-linux-kernel-4.4.55.git] / drivers / input / misc / rotary_encoder.c
index 99b9e42aa7482cb7767df51a78aec9f1907c2357..93558a1c7f704fe30cc71548fab96cd8e8c8381b 100644 (file)
@@ -143,7 +143,7 @@ static irqreturn_t rotary_encoder_half_period_irq(int irq, void *dev_id)
 }
 
 #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", },
        { },
 };