Commit 6aab2d7e authored by Elise Lennion's avatar Elise Lennion Committed by Greg Kroah-Hartman

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: default avatarElise Lennion <elise.lennion@gmail.com>
Acked-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2328ed66
......@@ -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,}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment