aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2008-04-21 18:26:40 -0400
committerJesper Juhl <juhl@hera.kernel.org>2008-04-21 18:26:40 -0400
commitb1d18dc06ba6b9056f95aaf1f8c464830846f87f (patch)
tree2b7a9cff99c3e977f5455ec23334bdacd05291ae /include
parent3f76d9841e9cf6dd969ff3aec96476dced9c53f8 (diff)
arm: 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: Jesper Juhl <jesper.juhl@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/hardware/iop3xx-adma.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-arm/hardware/iop3xx-adma.h b/include/asm-arm/hardware/iop3xx-adma.h
index 84d635b0a71a..a32b86ac62aa 100644
--- a/include/asm-arm/hardware/iop3xx-adma.h
+++ b/include/asm-arm/hardware/iop3xx-adma.h
@@ -260,7 +260,7 @@ static inline int iop_chan_memset_slot_count(size_t len, int *slots_per_op)
260static inline int iop3xx_aau_xor_slot_count(size_t len, int src_cnt, 260static inline int iop3xx_aau_xor_slot_count(size_t len, int src_cnt,
261 int *slots_per_op) 261 int *slots_per_op)
262{ 262{
263 const static int slot_count_table[] = { 0, 263 static const int slot_count_table[] = { 0,
264 1, 1, 1, 1, /* 01 - 04 */ 264 1, 1, 1, 1, /* 01 - 04 */
265 2, 2, 2, 2, /* 05 - 08 */ 265 2, 2, 2, 2, /* 05 - 08 */
266 4, 4, 4, 4, /* 09 - 12 */ 266 4, 4, 4, 4, /* 09 - 12 */
@@ -369,7 +369,7 @@ static inline u32 iop_desc_get_byte_count(struct iop_adma_desc_slot *desc,
369/* translate the src_idx to a descriptor word index */ 369/* translate the src_idx to a descriptor word index */
370static inline int __desc_idx(int src_idx) 370static inline int __desc_idx(int src_idx)
371{ 371{
372 const static int desc_idx_table[] = { 0, 0, 0, 0, 372 static const int desc_idx_table[] = { 0, 0, 0, 0,
373 0, 1, 2, 3, 373 0, 1, 2, 3,
374 5, 6, 7, 8, 374 5, 6, 7, 8,
375 9, 10, 11, 12, 375 9, 10, 11, 12,