summaryrefslogtreecommitdiffstats
path: root/sys/dev/puc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/puc')
-rw-r--r--sys/dev/puc/puc.c5
-rw-r--r--sys/dev/puc/puc_pccard.c4
-rw-r--r--sys/dev/puc/puc_pci.c4
3 files changed, 6 insertions, 7 deletions
diff --git a/sys/dev/puc/puc.c b/sys/dev/puc/puc.c
index 5f4cfc0..e1b9830 100644
--- a/sys/dev/puc/puc.c
+++ b/sys/dev/puc/puc.c
@@ -81,6 +81,8 @@ __FBSDID("$FreeBSD$");
* 'com' and 'lpt' attachments to pci.
*/
+#include "opt_puc.h"
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
@@ -98,9 +100,6 @@ __FBSDID("$FreeBSD$");
#define PUC_ENTRAILS 1
#include <dev/puc/pucvar.h>
-#include <opt_puc.h>
-
-
struct puc_device {
struct resource_list resources;
u_int serialfreq;
diff --git a/sys/dev/puc/puc_pccard.c b/sys/dev/puc/puc_pccard.c
index c9ff1fc..0e4c378 100644
--- a/sys/dev/puc/puc_pccard.c
+++ b/sys/dev/puc/puc_pccard.c
@@ -25,6 +25,8 @@
* $FreeBSD$
*/
+#include "opt_puc.h"
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
@@ -42,8 +44,6 @@
#include <dev/sio/sioreg.h>
#include <dev/pccard/pccardvar.h>
-#include <opt_puc.h>
-
const struct puc_device_description rscom_devices = {
"RS-com 2 port",
diff --git a/sys/dev/puc/puc_pci.c b/sys/dev/puc/puc_pci.c
index 4ea9382..f0688bf 100644
--- a/sys/dev/puc/puc_pci.c
+++ b/sys/dev/puc/puc_pci.c
@@ -60,6 +60,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include "opt_puc.h"
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
@@ -77,8 +79,6 @@ __FBSDID("$FreeBSD$");
#define PUC_ENTRAILS 1
#include <dev/puc/pucvar.h>
-#include <opt_puc.h>
-
static int
puc_pci_probe(device_t dev)
{
OpenPOWER on IntegriCloud