CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2021/11/07 09:43:12

Modified files:
        sys/dev/fdt    : gpioleds.c 

Log message:
Fall back to label if function is missing

The "label" property is obsolete and "function" should be used,
but devices like the Raspberry Pi 4b still use it.

Detect LEDs on such machines:

-gpioleds0 at mainbus0: no LEDs
+gpioleds0 at mainbus0: "led0", "led1"

OK patrick

Reply via email to