Changeset 847de24 in rtems-libbsd for freebsd/sys/dev/gpio/ofw_gpiobus.c


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