Skip to content

module won't compile on recent kernel (5.4.x, 5.15.x) #1

@kotc

Description

@kotc

i had to change ICH4_GPIO.c:230:
static DECLARE_DELAYED_WORK(Task, intrpt_routine);
to:
static DECLARE_DELAYED_WORK(Task, (void (*)(struct work_struct *))intrpt_routine);

it compiles and loads, but i'm not sure if it's proper fix. probably one should change next line:
static void intrpt_routine(void *irrelevant)

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