Browse Source

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 <sfr@canb.auug.org.au>
Cc: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Greg Kroah-Hartman 10 years ago
parent
commit
16c9c8e1ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/uio/uio_pdrv_genirq.c

+ 1 - 1
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
 #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 */ },
 	{ /* This is filled with module_parm */ },
 	{ /* Sentinel */ },
 	{ /* Sentinel */ },
 };
 };