mfd: Allow for const stmpe keyboard data
[profile/ivi/kernel-adaptation-intel-automotive.git] / include / linux / mfd / stmpe.h
index 8c54de6..f8d5b4d 100644 (file)
@@ -28,6 +28,7 @@ enum stmpe_partnum {
        STMPE1601,
        STMPE2401,
        STMPE2403,
+       STMPE_NBR_PARTS
 };
 
 /*
@@ -116,7 +117,7 @@ struct matrix_keymap_data;
  * @no_autorepeat: disable key autorepeat
  */
 struct stmpe_keypad_platform_data {
-       struct matrix_keymap_data *keymap_data;
+       const struct matrix_keymap_data *keymap_data;
        unsigned int debounce_ms;
        unsigned int scan_count;
        bool no_autorepeat;