Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Peter Foley and committed by
Chanwoo Choi
8a522bf2 6c467a10

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