mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
extcon: adc-jack: Fix incompatible pointer type warning
commit 8a522bf2d4 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
21a5c21c67
commit
cb7d2be7f2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user