Changeset 847de24 in rtems-libbsd


Ignore:
Timestamp:
Nov 10, 2017, 12:32:14 PM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
b96abfd647154f10ea8f7fac68e25676636eded5, 26866d2c1f2432b25b5db71995bce2035187c715, 6da0dda3255e2a49365aee6904fe00d4f2ca9d68
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.