Changeset 847de24 in rtems-libbsd


Ignore:
Timestamp:
Nov 10, 2017, 12:32:14 PM (20 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
eeb3fd5d9b07ac9a2e280cff60a1b762bd273a8d, 1e989998de954bef51e6c19cc3d64d39f32100aa
Children:
9c9d11b
Parents:
7c68f4e
Message:

Fix build for non-FDT platforms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/dev/gpio/ofw_gpiobus.c

    r7c68f4e r847de24  
    3939#include <sys/module.h>
    4040
     41#ifdef __rtems__
     42#include <rtems/bsd/local/opt_platform.h>
     43#endif /* __rtems__ */
     44#if defined(__rtems__) && defined(FDT)
    4145#include <dev/gpio/gpiobusvar.h>
    4246#include <dev/ofw/ofw_bus.h>
     
    592596MODULE_VERSION(ofw_gpiobus, 1);
    593597MODULE_DEPEND(ofw_gpiobus, gpiobus, 1, 1, 1);
     598#endif /* __rtems__ && FDT */
Note: See TracChangeset for help on using the changeset viewer.