summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-09-03 11:18:35 +0000
committerphk <phk@FreeBSD.org>2002-09-03 11:18:35 +0000
commitf13a60bdeb60f04042151e02cd9657ae961bf51c (patch)
tree26c16651f2c38c1611baadc543eee60f75c528ca
parentcfd43b66d13151006a677894e37f4f01c65120d2 (diff)
downloadFreeBSD-src-f13a60bdeb60f04042151e02cd9657ae961bf51c.zip
FreeBSD-src-f13a60bdeb60f04042151e02cd9657ae961bf51c.tar.gz
Style: move a global variable up to the top of the file.
-rw-r--r--sys/dev/puc/puc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/puc/puc.c b/sys/dev/puc/puc.c
index e1b9830..c8dbb82 100644
--- a/sys/dev/puc/puc.c
+++ b/sys/dev/puc/puc.c
@@ -112,6 +112,8 @@ static int puc_find_free_unit(char *);
static void puc_print_resource_list(struct resource_list *);
#endif
+devclass_t puc_devclass;
+
static int
puc_port_bar_index(struct puc_softc *sc, int bar)
{
@@ -506,6 +508,3 @@ puc_read_ivar(device_t dev, device_t child, int index, uintptr_t *result)
}
return (0);
}
-
-devclass_t puc_devclass;
-
OpenPOWER on IntegriCloud