diff options
author | glebius <glebius@FreeBSD.org> | 2005-10-05 10:09:17 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2005-10-05 10:09:17 +0000 |
commit | 9efbae40b7fa46513867c684c25f98672c91fd76 (patch) | |
tree | 4da500a63f4294917b4cd16805f3184b105af0b7 /sys/dev/firewire | |
parent | 5fec195dfbb74ae2282f3a20aeb2944fc966235b (diff) | |
download | FreeBSD-src-9efbae40b7fa46513867c684c25f98672c91fd76.zip FreeBSD-src-9efbae40b7fa46513867c684c25f98672c91fd76.tar.gz |
- Don't pollute opt_global.h with DEVICE_POLLING and introduce
opt_device_polling.h
- Include opt_device_polling.h into appropriate files.
- Embrace with HAVE_KERNEL_OPTION_HEADERS the include in the files that
can be compiled as loadable modules.
Reviewed by: bde
Diffstat (limited to 'sys/dev/firewire')
-rw-r--r-- | sys/dev/firewire/if_fwe.c | 3 | ||||
-rw-r--r-- | sys/dev/firewire/if_fwip.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/firewire/if_fwe.c b/sys/dev/firewire/if_fwe.c index 1bf1bcd..83c57ac 100644 --- a/sys/dev/firewire/if_fwe.c +++ b/sys/dev/firewire/if_fwe.c @@ -34,7 +34,10 @@ * $FreeBSD$ */ +#ifdef HAVE_KERNEL_OPTION_HEADERS +#include "opt_device_polling.h" #include "opt_inet.h" +#endif #include <sys/param.h> #include <sys/kernel.h> diff --git a/sys/dev/firewire/if_fwip.c b/sys/dev/firewire/if_fwip.c index b3fdda4..0d7e5fe 100644 --- a/sys/dev/firewire/if_fwip.c +++ b/sys/dev/firewire/if_fwip.c @@ -36,7 +36,10 @@ * $FreeBSD$ */ +#ifdef HAVE_KERNEL_OPTION_HEADERS +#include "opt_device_polling.h" #include "opt_inet.h" +#endif #include <sys/param.h> #include <sys/kernel.h> |