diff options
author | Emil Goode <emilgoode@gmail.com> | 2013-03-27 17:47:49 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-28 16:16:57 -0700 |
commit | 698f57f48a3b0b2caad20c560b2ba44932c2c76f (patch) | |
tree | b266627f940fa03ffa9f118e8ab0c23e8276a586 /drivers | |
parent | 0d7ddc01efad6b02ed661f02c74b9a751524a361 (diff) |
staging: comedi: amplc_dio200: fix C99 array initializer warnings
This patch fixes the following sparse warnings about use of
obsolete array initializer:
drivers/staging/comedi/drivers/amplc_dio200_pci.c:256:24: warning:
obsolete array initializer, use C99 syntax
drivers/staging/comedi/drivers/amplc_dio200_pci.c:269:24: warning:
obsolete array initializer, use C99 syntax
drivers/staging/comedi/drivers/amplc_dio200_pci.c:281:25: warning:
obsolete array initializer, use C99 syntax
drivers/staging/comedi/drivers/amplc_dio200_pci.c:298:25: warning:
obsolete array initializer, use C99 syntax
drivers/staging/comedi/drivers/amplc_dio200_pci.c:315:25: warning:
obsolete array initializer, use C99 syntax
Signed-off-by: Emil Goode <emilgoode@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/comedi/drivers/amplc_dio200_pci.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/comedi/drivers/amplc_dio200_pci.c b/drivers/staging/comedi/drivers/amplc_dio200_pci.c index 55b6efd94ae2..232620c65ff1 100644 --- a/drivers/staging/comedi/drivers/amplc_dio200_pci.c +++ b/drivers/staging/comedi/drivers/amplc_dio200_pci.c @@ -253,7 +253,7 @@ enum dio200_pci_model { }; static const struct dio200_board dio200_pci_boards[] = { - [pci215_model] { + [pci215_model] = { .name = "pci215", .bustype = pci_bustype, .mainbar = 2, @@ -266,7 +266,7 @@ static const struct dio200_board dio200_pci_boards[] = { .has_clk_gat_sce = true, }, }, - [pci272_model] { + [pci272_model] = { .name = "pci272", .bustype = pci_bustype, .mainbar = 2, @@ -278,7 +278,7 @@ static const struct dio200_board dio200_pci_boards[] = { .has_int_sce = true, }, }, - [pcie215_model] { + [pcie215_model] = { .name = "pcie215", .bustype = pci_bustype, .mainbar = 1, @@ -295,7 +295,7 @@ static const struct dio200_board dio200_pci_boards[] = { .has_enhancements = true, }, }, - [pcie236_model] { + [pcie236_model] = { .name = "pcie236", .bustype = pci_bustype, .mainbar = 1, @@ -312,7 +312,7 @@ static const struct dio200_board dio200_pci_boards[] = { .has_enhancements = true, }, }, - [pcie296_model] { + [pcie296_model] = { .name = "pcie296", .bustype = pci_bustype, .mainbar = 1, |