Skip to content

Error when building drivers/spi/spi-eswin.o #12

@lengau

Description

@lengau

spi-eswin.c appears to be missing a symbol:

CALL    scripts/checksyscalls.sh
CC      drivers/spi/spi-eswin.o
In file included from ./include/linux/spi/spi.h:9,
from drivers/spi/spi-eswin.c:32:
drivers/spi/spi-eswin.c:1140:46: error: ‘eswin_spi_mmio_acpi_match’ undeclared here (not in a function); did you mean ‘eswin_spi_mmio_of_match’?
1140 |                 .acpi_match_table = ACPI_PTR(eswin_spi_mmio_acpi_match),
|                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/acpi.h:722:26: note: in definition of macro ‘ACPI_PTR’
722 | #define ACPI_PTR(_ptr)  (_ptr)
|                          ^~~~
make[4]: *** [scripts/Makefile.build:243: drivers/spi/spi-eswin.o] Error 1
make[3]: *** [scripts/Makefile.build:480: drivers/spi] Error 2
make[2]: *** [scripts/Makefile.build:480: drivers] Error 2
make[1]: *** [/home/roma/linux-fml13v03/Makefile:1929: .] Error 2
make: *** [Makefile:234: __sub-make] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions