Revert "uio: constify of_device_id array"
This reverts commit 4d8beff2ae
.
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>
This commit is contained in:
Родитель
86d39839bc
Коммит
16c9c8e1ae
|
@ -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 */ },
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче