1
0
Fork 0

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().

Signed-off-by: Peter Foley <pefoley2@pefoley.com>
[cw00.choi: Modify the patch title and descritpion]
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
hifive-unleashed-5.1
Peter Foley 2016-11-27 21:37:20 -05:00 committed by Chanwoo Choi
parent 6c467a106f
commit 8a522bf2d4
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ struct adc_jack_pdata {
const char *name;
const char *consumer_channel;
const enum extcon *cable_names;
const unsigned int *cable_names;
/* The last entry's state should be 0 */
struct adc_jack_cond *adc_conditions;