From: Tobias Klauser Date: Thu, 20 May 2010 08:39:38 +0000 (+0200) Subject: Staging: hv: Storage class should be before const qualifier X-Git-Tag: firefly_0821_release~9833^2~1255^2~1^2~486 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=15f0beb16937acef2bbfd1d7541612c2e7b0d37c;p=firefly-linux-kernel-4.4.55.git Staging: hv: Storage class should be before const qualifier The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Signed-off-by: Tobias Klauser Cc: Haiyang Zhang Cc: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/vmbus_drv.c b/drivers/staging/hv/vmbus_drv.c index c21731a12ca7..4f6f64031f8f 100644 --- a/drivers/staging/hv/vmbus_drv.c +++ b/drivers/staging/hv/vmbus_drv.c @@ -1025,7 +1025,7 @@ static void __exit vmbus_exit(void) * installed and/or configured. We don't do anything else with the table, but * it needs to be present. */ -const static struct pci_device_id microsoft_hv_pci_table[] = { +static const struct pci_device_id microsoft_hv_pci_table[] = { { PCI_DEVICE(0x1414, 0x5353) }, /* VGA compatible controller */ { 0 } };