[PATCH rtems-libbsd] regulator: Disable FDT parts for non-FDT targets

Christian Mauderer christian.mauderer at embedded-brains.de
Fri Apr 17 12:03:18 UTC 2020


On 17/04/2020 13:21, Sebastian Huber wrote:
> Thanks, please push it.
> 

Hello Sebastian,

just noted that the logic isn't entirely correct: Should it be the
following?

  #if (defined(__rtems__) && defined(FDT)) || !defined(__rtems__)

The conditionals with some second define are always a bit tricky in libbsd.

Best regards

Christian
-- 
--------------------------------------------
embedded brains GmbH
Herr Christian Mauderer
Dornierstr. 4
D-82178 Puchheim
Germany
email: christian.mauderer at embedded-brains.de
Phone: +49-89-18 94 741 - 18
Fax:   +49-89-18 94 741 - 08
PGP: Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


More information about the devel mailing list