Skip to content

meson64: driver-power-meson64-reset.patch breaks compilation on kernel 7.1 #9777

@EvilOlaf

Description

@EvilOlaf

What happened?

7806104
This patch was disabled since it breaks compilation. of_gpio.h was removed upstream so this needs adaption to new API standard.
@pyavitz since this patch was from you, perhaps you find time to take a look into during rc phase.

How to reproduce?

./compile.sh BOARD=odroidn2 BRANCH=bleedingedge kernel
[...]
[🔨]   drivers/power/reset/meson64-reboot.c:37:10: fatal error: linux/of_gpio.h: No such file or directory
[🔨]      37 | #include <linux/of_gpio.h>
[🔨]         |          ^~~~~~~~~~~~~~~~~
[🔨]   compilation terminated.
[🔨]     CC [M]  drivers/usb/storage/sddr55.o
[🔨]   make[5]: *** [scripts/Makefile.build:292: drivers/power/reset/meson64-reboot.o] Error 1
[🔨]   make[4]: *** [scripts/Makefile.build:551: drivers/power/reset] Error 2
[🔨]   make[4]: *** Waiting for unfinished jobs....

Branch

main (main development branch)

On which host OS are you running the build script and observing this problem?

Ubuntu 24.04 Noble

Are you building on Windows WSL2?

  • Yes, my Ubuntu/Debian/OtherOS is running on WSL2

Relevant log URL

https://paste.armbian.com/wovukojada

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

BugSomething isn't working as it should

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions