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

Kernel 6.4+ fixes #13

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Kernel 6.4+ fixes #13

wants to merge 3 commits into from

Conversation

Steve-Tech
Copy link

@Steve-Tech Steve-Tech commented Aug 19, 2023

Fixes building on kernel 6.4+, last tested on 6.7.

List of changes:

  • struct gpio_chip missing, was moved to linux/gpio/driver.h, now included
  • gpio_export() missing, replaced with gpiod_export()
  • irq_to_desc() missing, replaced with irq_data_to_desc(irq_get_irq_data()) - Already fixed in another PR.

i2c-ch341-usb.c Outdated Show resolved Hide resolved
@aep
Copy link

aep commented Nov 1, 2023

thanks!

@mahenzon
Copy link

Thanks a lot! It works!
Kernel: 6.5.0-14-generic
Ubuntu 22.04.3 LTS aarch64

@Steve-Tech Steve-Tech changed the title Kernel 6.4 fixes Kernel 6.4+ fixes Feb 13, 2024
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

Successfully merging this pull request may close these issues.

3 participants