staging: sm750fb: Add const qualifier to struct declaration.
Subsystems (2)
PATCH 1/1 staging: sm750fb: Add const qualifier to struct declaration.
Const qualifier added to struct declaration to make the code more efficient.
Signed-off-by Elise Lennion <[email protected]>
--- drivers/staging/sm750fb/sm750.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/sm750fb/sm750.c +1 -1
@@ -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 ,} };
Signature · 1 line
2.7.4