aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-05-20 10:39:38 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-18 09:22:28 -0700
commit15f0beb16937acef2bbfd1d7541612c2e7b0d37c (patch)
tree0aabc0aa9b8043d28d849c22c0db043d92d2ca2b /drivers/staging/hv
parentStaging: comedi: drivers: fix coding style issues in pcl812.c (diff)
downloadlinux-dev-15f0beb16937acef2bbfd1d7541612c2e7b0d37c.tar.xz
linux-dev-15f0beb16937acef2bbfd1d7541612c2e7b0d37c.zip
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 <tklauser@distanz.ch> Cc: Haiyang Zhang <haiyangz@microsoft.com> Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv')
-rw-r--r--drivers/staging/hv/vmbus_drv.c2
1 files changed, 1 insertions, 1 deletions
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 }
};