mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 12:21:37 +00:00
staging: sm750fb: Add const qualifier to struct declaration.
Const qualifier added to struct declaration to avoid data overwrite during runtime and improve security. Signed-off-by: Elise Lennion <elise.lennion@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2328ed663b
commit
6aab2d7eac
@ -1188,7 +1188,7 @@ static int __init lynxfb_setup(char *options)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct pci_device_id smi_pci_table[] = {
|
||||
static const struct pci_device_id smi_pci_table[] = {
|
||||
{ PCI_DEVICE(0x126f, 0x0750), },
|
||||
{0,}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user