summaryrefslogtreecommitdiffstats
path: root/include/linux/extcon
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@pefoley.com>2016-11-27 21:37:20 -0500
committerChanwoo Choi <cw00.choi@samsung.com>2017-01-09 10:04:09 +0900
commit8a522bf2d4f788306443d36b26b54f0aedcdfdbe (patch)
tree8221a82e0332d52fabfb4a5a0cce300958be65c8 /include/linux/extcon
parent6c467a106f4c93a05b359b6732bb2161d74a29ae (diff)
downloadlinux-stable-8a522bf2d4f788306443d36b26b54f0aedcdfdbe.tar.gz
linux-stable-8a522bf2d4f788306443d36b26b54f0aedcdfdbe.tar.bz2
linux-stable-8a522bf2d4f788306443d36b26b54f0aedcdfdbe.zip
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>
Diffstat (limited to 'include/linux/extcon')
-rw-r--r--include/linux/extcon/extcon-adc-jack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/extcon/extcon-adc-jack.h b/include/linux/extcon/extcon-adc-jack.h
index a0e03b13b449..2aa32075bca1 100644
--- a/include/linux/extcon/extcon-adc-jack.h
+++ b/include/linux/extcon/extcon-adc-jack.h
@@ -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;