[PATCH rtems-libbsd] regulator: Disable FDT parts for non-FDT targets
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Apr 17 12:15:39 UTC 2020
On 17/04/2020 14:03, Christian Mauderer wrote:
> 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.
What about
#if !defined(__rtems__) || defined(FDT)
?
More information about the devel
mailing list