summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-16 20:54:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-25 12:25:28 +0100
commit4d8beff2ae07fad85d723b4cdf704b05f0ed4794 (patch)
tree94da77accff9c8236e64d1e123fd333a1570a0cf
parent5f5cc81733baf7b67a039a931dae282e53bf97b9 (diff)
downloadlinux-4d8beff2ae07fad85d723b4cdf704b05f0ed4794.tar.bz2
uio: constify of_device_id array
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/uio/uio_pdrv_genirq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/uio/uio_pdrv_genirq.c b/drivers/uio/uio_pdrv_genirq.c
index f598ecddc8a7..59c172a0d13a 100644
--- a/drivers/uio/uio_pdrv_genirq.c
+++ b/drivers/uio/uio_pdrv_genirq.c
@@ -252,7 +252,7 @@ static const struct dev_pm_ops uio_pdrv_genirq_dev_pm_ops = {
};
#ifdef CONFIG_OF
-static struct of_device_id uio_of_genirq_match[] = {
+static const struct of_device_id uio_of_genirq_match[] = {
{ /* This is filled with module_parm */ },
{ /* Sentinel */ },
};