Skip to content

Commit 16c9c8e

Browse files
committed
Revert "uio: constify of_device_id array"
This reverts commit 4d8beff. 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>
1 parent 86d3983 commit 16c9c8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/uio/uio_pdrv_genirq.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ static const struct dev_pm_ops uio_pdrv_genirq_dev_pm_ops = {
252252
};
253253

254254
#ifdef CONFIG_OF
255-
static const struct of_device_id uio_of_genirq_match[] = {
255+
static struct of_device_id uio_of_genirq_match[] = {
256256
{ /* This is filled with module_parm */ },
257257
{ /* Sentinel */ },
258258
};

0 commit comments

Comments
 (0)