diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-03 17:04:21 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-03 17:04:21 +0300 |
commit | 16c9c8e1ae228e89b66cbc03ec6c753ee44d39bc (patch) | |
tree | a2e4bb1a895144d87879ece7be7ba6c10fe9cf12 /drivers/uio | |
parent | 86d39839bc6bccc9b6b89de8c9c38beb9709f559 (diff) | |
download | linux-16c9c8e1ae228e89b66cbc03ec6c753ee44d39bc.tar.xz |
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>
Diffstat (limited to 'drivers/uio')
-rw-r--r-- | drivers/uio/uio_pdrv_genirq.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ }, }; |