This patch fixes the incompatible warning of extcon-adc-jack.c driver when calling devm_extcon_dev_allocate().
Showing the changes to include/linux/extcon (1 of 1 file). Show all
Unified · Split
| @@ -59,7 +59,7 @@ struct adc_jack_pdata { · 58 unmodified lines | |||
| 59 | const char *name; | 59 | const char *name; |
| 60 | const char *consumer_channel; | 60 | const char *consumer_channel; |
| 61 | 61 | ||
| 62 | const enum extcon *cable_names; | 62 | const unsigned int *cable_names; |
| 63 | 63 | ||
| 64 | /* The last entry's state should be 0 */ | 64 | /* The last entry's state should be 0 */ |
| 65 | struct adc_jack_cond *adc_conditions; | 65 | struct adc_jack_cond *adc_conditions; |