Changeset 847de24 in rtems-libbsd


Ignore:
Timestamp:
Nov 10, 2017, 12:32:14 PM (21 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5283630d2c9d40deb0183696d278e02644fe4326, bc2ba9a9cdc7381c2a4f2ae6ee303be636f31368
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.