diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2007-02-17 14:11:19 -0500 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2007-02-17 14:11:19 -0500 |
commit | c5a69d57eb48e36f84c0737b5b24ec277d7dbfba (patch) | |
tree | a222d02f4fa9b42e78228cdb106ace4e35bd2ccc /drivers/ieee1394/ohci1394.c | |
parent | 0bbfb7c2e4b682542a822d3af05cea0e5cb5ba81 (diff) |
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>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'drivers/ieee1394/ohci1394.c')
-rw-r--r-- | drivers/ieee1394/ohci1394.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee1394/ohci1394.c b/drivers/ieee1394/ohci1394.c index e982d60ac4b7..06fac0d21264 100644 --- a/drivers/ieee1394/ohci1394.c +++ b/drivers/ieee1394/ohci1394.c | |||
@@ -180,7 +180,7 @@ static int alloc_dma_trm_ctx(struct ti_ohci *ohci, struct dma_trm_ctx *d, | |||
180 | static void ohci1394_pci_remove(struct pci_dev *pdev); | 180 | static void ohci1394_pci_remove(struct pci_dev *pdev); |
181 | 181 | ||
182 | #ifndef __LITTLE_ENDIAN | 182 | #ifndef __LITTLE_ENDIAN |
183 | const static size_t hdr_sizes[] = { | 183 | static const size_t hdr_sizes[] = { |
184 | 3, /* TCODE_WRITEQ */ | 184 | 3, /* TCODE_WRITEQ */ |
185 | 4, /* TCODE_WRITEB */ | 185 | 4, /* TCODE_WRITEB */ |
186 | 3, /* TCODE_WRITE_RESPONSE */ | 186 | 3, /* TCODE_WRITE_RESPONSE */ |