提交 16c9c8e1 编写于 作者: G Greg Kroah-Hartman

Revert "uio: constify of_device_id array"

This reverts commit 4d8beff2.

It causes build warnings, and it's incorrect as we do write to this
structure.
Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
Cc: Fabian Frederick <fabf@skynet.be>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 86d39839
......@@ -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 */ },
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册