You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following error when perform the make command:
/home/alex/tbs/media_build/v4l/adp1653.c: In function 'adp1653_of_init':
/home/alex/tbs/media_build/v4l/adp1653.c:468:59: error: 'GPIOD_ASIS' undeclared (first use in this function)
pd->enable_gpio = devm_gpiod_get(&client->dev, "enable", GPIOD_ASIS);
^
/home/alex/tbs/media_build/v4l/adp1653.c:468:59: note: each undeclared identifier is reported only once for each function it appears in
/home/alex/tbs/media_build/v4l/adp1653.c:468:2: error: too many arguments to function 'devm_gpiod_get'
pd->enable_gpio = devm_gpiod_get(&client->dev, "enable", GPIOD_ASIS);
^
In file included from /home/alex/tbs/media_build/v4l/adp1653.c:39:0:
/usr/src/linux-headers-3.16.0-4-common/include/linux/gpio/consumer.h:35:32: note: declared here
struct gpio_desc __must_check devm_gpiod_get(struct device *dev,
^
/usr/src/linux-headers-3.16.0-4-common/scripts/Makefile.build:268: ошибка выполнения рецепта для цели «/home/alex/tbs/media_build/v4l/adp1653.o»
make[5]: ** [/home/alex/tbs/media_build/v4l/adp1653.o] Ошибка 1
/usr/src/linux-headers-3.16.0-4-common/Makefile:1352: ошибка выполнения рецепта для цели «module/home/alex/tbs/media_build/v4l»
make[4]: *** [module/home/alex/tbs/media_build/v4l] Ошибка 2
Makefile:181: recipe for target 'sub-make' failed
make[3]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-3.16.0-4-amd64'
Makefile:51: ошибка выполнения рецепта для цели «default»
make[1]: *** [default] Ошибка 2
make[1]: выход из каталога «/home/alex/tbs/media_build/v4l»
Makefile:26: ошибка выполнения рецепта для цели «all»
make: *** [all] Ошибка 2
The text was updated successfully, but these errors were encountered:
i have Debian 8 jessie with kernel 3.16.0-4-amd64
Use last commit: 11d8d01
I saw the issue:
unable to build driver - kodibuntu
but not help me, error returned.
I have the following error when perform the make command:
/home/alex/tbs/media_build/v4l/adp1653.c: In function 'adp1653_of_init':
/home/alex/tbs/media_build/v4l/adp1653.c:468:59: error: 'GPIOD_ASIS' undeclared (first use in this function)
pd->enable_gpio = devm_gpiod_get(&client->dev, "enable", GPIOD_ASIS);
^
/home/alex/tbs/media_build/v4l/adp1653.c:468:59: note: each undeclared identifier is reported only once for each function it appears in
/home/alex/tbs/media_build/v4l/adp1653.c:468:2: error: too many arguments to function 'devm_gpiod_get'
pd->enable_gpio = devm_gpiod_get(&client->dev, "enable", GPIOD_ASIS);
^
In file included from /home/alex/tbs/media_build/v4l/adp1653.c:39:0:
/usr/src/linux-headers-3.16.0-4-common/include/linux/gpio/consumer.h:35:32: note: declared here
struct gpio_desc __must_check devm_gpiod_get(struct device *dev,
^
/usr/src/linux-headers-3.16.0-4-common/scripts/Makefile.build:268: ошибка выполнения рецепта для цели «/home/alex/tbs/media_build/v4l/adp1653.o»
make[5]: ** [/home/alex/tbs/media_build/v4l/adp1653.o] Ошибка 1
/usr/src/linux-headers-3.16.0-4-common/Makefile:1352: ошибка выполнения рецепта для цели «module/home/alex/tbs/media_build/v4l»
make[4]: *** [module/home/alex/tbs/media_build/v4l] Ошибка 2
Makefile:181: recipe for target 'sub-make' failed
make[3]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-3.16.0-4-amd64'
Makefile:51: ошибка выполнения рецепта для цели «default»
make[1]: *** [default] Ошибка 2
make[1]: выход из каталога «/home/alex/tbs/media_build/v4l»
Makefile:26: ошибка выполнения рецепта для цели «all»
make: *** [all] Ошибка 2
The text was updated successfully, but these errors were encountered: