Commit 600ae40d authored by Tobias Klauser's avatar Tobias Klauser Committed by Eric Miao

[ARM] pxa/palmtc: 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: default avatarTobias Klauser <tklauser@distanz.ch>
Acked-by: default avatarMarek Vasut <marek.vasut@gmail.com>
Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
parent 67a3e12b
...@@ -263,11 +263,11 @@ const struct matrix_keymap_data palmtc_keymap_data = { ...@@ -263,11 +263,11 @@ const struct matrix_keymap_data palmtc_keymap_data = {
.keymap_size = ARRAY_SIZE(palmtc_matrix_keys), .keymap_size = ARRAY_SIZE(palmtc_matrix_keys),
}; };
const static unsigned int palmtc_keypad_row_gpios[] = { static const unsigned int palmtc_keypad_row_gpios[] = {
0, 9, 10, 11 0, 9, 10, 11
}; };
const static unsigned int palmtc_keypad_col_gpios[] = { static const unsigned int palmtc_keypad_col_gpios[] = {
18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 79, 80 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 79, 80
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment