From: Fabian Frederick Date: Mon, 16 Mar 2015 19:54:38 +0000 (+0100) Subject: uio: constify of_device_id array X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4d8beff2ae07fad85d723b4cdf704b05f0ed4794;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- 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 */ }, };