Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
drivers/uio/uio_pdrv_genirq.c
··· 252 252 }; 253 253 254 254 #ifdef CONFIG_OF 255 - static const struct of_device_id uio_of_genirq_match[] = { 255 + static struct of_device_id uio_of_genirq_match[] = { 256 256 { /* This is filled with module_parm */ }, 257 257 { /* Sentinel */ }, 258 258 };