diff options
Diffstat (limited to 'freebsd/sys/dev/extres/regulator/regulator.c')
-rw-r--r-- | freebsd/sys/dev/extres/regulator/regulator.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd/sys/dev/extres/regulator/regulator.c b/freebsd/sys/dev/extres/regulator/regulator.c index 4ad6e94a..5af3a562 100644 --- a/freebsd/sys/dev/extres/regulator/regulator.c +++ b/freebsd/sys/dev/extres/regulator/regulator.c @@ -51,7 +51,9 @@ __FBSDID("$FreeBSD$"); #endif #include <dev/extres/regulator/regulator.h> +#if !defined(__rtems__) || defined(FDT) #include <rtems/bsd/local/regdev_if.h> +#endif /* !__rtems__ || FDT */ SYSCTL_NODE(_hw, OID_AUTO, regulator, CTLFLAG_RD, NULL, "Regulators"); |