Re: [PATCH] drivers/extcon: Fix incompatible pointer type warning

2016-11-29 Thread Chanwoo Choi
On 2016년 11월 28일 11:37, Peter Foley wrote: > CC [M] drivers/extcon/extcon-adc-jack.o > ../drivers/extcon/extcon-adc-jack.c:115:52: error: incompatible pointer types > passing 'const enum extcon *' to parameter of type 'const unsigned int *' > [-Werror,-Wincompatible-pointer-types] > da

[PATCH] drivers/extcon: Fix incompatible pointer type warning

2016-11-27 Thread Peter Foley
CC [M] drivers/extcon/extcon-adc-jack.o ../drivers/extcon/extcon-adc-jack.c:115:52: error: incompatible pointer types passing 'const enum extcon *' to parameter of type 'const unsigned int *' [-Werror,-Wincompatible-pointer-types] data->edev = devm_extcon_dev_allocate(&pdev->dev, pdata