Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,}
};