summaryrefslogtreecommitdiffstats
path: root/sys/dev/puc
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-09-01 01:59:38 +0000
committerjmallett <jmallett@FreeBSD.org>2002-09-01 01:59:38 +0000
commit685f567d90be48bf7098f3e05963063c3c98c3bb (patch)
treeeecddfe887833e3741c096c16a32ac575dc04e27 /sys/dev/puc
parent02b206400ef68a3d8b50aafd238f36ed52bf171d (diff)
downloadFreeBSD-src-685f567d90be48bf7098f3e05963063c3c98c3bb.zip
FreeBSD-src-685f567d90be48bf7098f3e05963063c3c98c3bb.tar.gz
Stylistic fixes for the inclusion of the opt_puc.h header, so it comes from the
right places, and so it's sorted consistently with how all the other N-hundreds of files ding this do it. Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
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