Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem compiling with kernel 3.16.0-4-amd64 #124

Closed
askuratovich opened this issue Apr 12, 2016 · 1 comment
Closed

Problem compiling with kernel 3.16.0-4-amd64 #124

askuratovich opened this issue Apr 12, 2016 · 1 comment

Comments

@askuratovich
Copy link

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

@askuratovich
Copy link
Author

delete GPIOD_ASIS from file /media_build/v4l/adp1653.c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant