Skip to content

Linux 5.17.y drivers/power/reset/odroid-reboot.c #31

@pyavitz

Description

@pyavitz

There appears to be a fail in the following function concerning the ODROID-COMMON: power:reset: Add odroid support commit.

 CC      drivers/power/reset/odroid-reboot.o
drivers/power/reset/odroid-reboot.c: In function ‘odroid_restart_probe’:
drivers/power/reset/odroid-reboot.c:141:3: error: ‘arm_pm_restart’ undeclared (first use in this function); did you mean ‘alarm_restart’?
  141 |   arm_pm_restart = do_odroid_restart;
      |   ^~~~~~~~~~~~~~
      |   alarm_restart
drivers/power/reset/odroid-reboot.c:141:3: note: each undeclared identifier is reported only once for each function it appears in
make[6]: *** [scripts/Makefile.build:271: drivers/power/reset/odroid-reboot.o] Error 1
make[5]: *** [scripts/Makefile.build:514: drivers/power/reset] Error 2
make[4]: *** [scripts/Makefile.build:514: drivers/power] Error 2
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:1851: drivers] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
make[1]: *** [scripts/Makefile.package:83: bindeb-pkg] Error 2
make: *** [Makefile:1569: bindeb-pkg] Error 2

When deselected from the defconfig the build completes fine, of course the boards no longer have the ability to reboot correctly. Just thought you would like to know. Thank you!

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