Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a522bf2 authored by Peter Foley's avatar Peter Foley Committed by Chanwoo Choi
Browse files

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: default avatarPeter Foley <pefoley2@pefoley.com>
[cw00.choi: Modify the patch title and descritpion]
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent 6c467a10
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;