Skip to content

Can't compile on raspbian 64bit [ kernel version 6.1.21-v8+ ] #9

@big-yellow-duck

Description

@big-yellow-duck

I've followed the readme to compile the driver but it gives this error.

error: initialization of ‘void (*)(struct tty_struct *, const struct ktermios )’ from incompatible pointer type ‘void ()(struct tty_struct *, struct ktermios *)’ [-Werror=incompatible-pointer-types]
2613 | .set_termios = ch9344_tty_set_termios,
| ^~~~~~~~~~~~~~~~~~~~~~

I've tried compiling on ubuntu 20.04 on a pc with kernel version 5.15.0-71-generic and it works correctly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions