History

extcon: adc-jack: Fix incompatible pointer type warning

This patch fixes the incompatible warning of extcon-adc-jack.c driver when calling devm_extcon_dev_allocate().

Peter Foley committed 9 years ago

Commit 8a522bf1 parent 6c467a11 file · +1 −1Browse files

Showing the changes to include/linux/extcon (1 of 1 file). Show all

Unified · Split

include/linux/extcon/extcon-adc-jack.h+1−1
@@ -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;