From f7da28bb59fec09494dd2b7735f86dd60b0bccdb Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Fri, 3 Apr 2015 16:04:21 +0200 Subject: [PATCH] Revert "uio: constify of_device_id array" This reverts commit e4e2f90f2113643c6bb57c4e2fa95c4da7ca2a5b. 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 --- drivers/uio/uio_pdrv_genirq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/uio/uio_pdrv_genirq.c b/drivers/uio/uio_pdrv_genirq.c index 59c172a0d13a7..f598ecddc8a70 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 */ }, }; -- 2.39.5