From: Greg Kroah-Hartman Date: Fri, 3 Apr 2015 14:04:21 +0000 (+0200) Subject: Revert "uio: constify of_device_id array" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=16c9c8e1ae228e89b66cbc03ec6c753ee44d39bc;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Revert "uio: constify of_device_id array" This reverts commit 4d8beff2ae07fad85d723b4cdf704b05f0ed4794. It causes build warnings, and it's incorrect as we do write to this structure. Reported-by: Stephen Rothwell Cc: 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 59c172a0d13a..f598ecddc8a7 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 const struct of_device_id uio_of_genirq_match[] = { +static struct of_device_id uio_of_genirq_match[] = { { /* This is filled with module_parm */ }, { /* Sentinel */ }, };