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