diff options
Diffstat (limited to 'include/linux/i2c/twl4030.h')
-rw-r--r-- | include/linux/i2c/twl4030.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/i2c/twl4030.h b/include/linux/i2c/twl4030.h index 3fd21d7cb6bf..007572536ea9 100644 --- a/include/linux/i2c/twl4030.h +++ b/include/linux/i2c/twl4030.h | |||
@@ -305,11 +305,11 @@ struct twl4030_madc_platform_data { | |||
305 | int irq_line; | 305 | int irq_line; |
306 | }; | 306 | }; |
307 | 307 | ||
308 | /* Boards have uniqe mappings of {col, row} --> keycode. | 308 | /* Boards have uniqe mappings of {row, col} --> keycode. |
309 | * Column and row are 4 bits, but range only from 0..7. | 309 | * Column and row are 8 bits each, but range only from 0..7. |
310 | * a PERSISTENT_KEY is "always on" and never reported. | 310 | * a PERSISTENT_KEY is "always on" and never reported. |
311 | */ | 311 | */ |
312 | #define PERSISTENT_KEY(c, r) KEY((c), (r), KEY_RESERVED) | 312 | #define PERSISTENT_KEY(r, c) KEY((r), (c), KEY_RESERVED) |
313 | 313 | ||
314 | struct twl4030_keypad_data { | 314 | struct twl4030_keypad_data { |
315 | const struct matrix_keymap_data *keymap_data; | 315 | const struct matrix_keymap_data *keymap_data; |