Skip to content

Commit 8a522bf

Browse files
pefoley2chanwoochoi
authored andcommitted
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>
1 parent 6c467a1 commit 8a522bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/extcon/extcon-adc-jack.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ struct adc_jack_pdata {
5959
const char *name;
6060
const char *consumer_channel;
6161

62-
const enum extcon *cable_names;
62+
const unsigned int *cable_names;
6363

6464
/* The last entry's state should be 0 */
6565
struct adc_jack_cond *adc_conditions;

0 commit comments

Comments
 (0)