summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorassar <assar@FreeBSD.org>2000-12-19 08:32:37 +0000
committerassar <assar@FreeBSD.org>2000-12-19 08:32:37 +0000
commit27b662b36f78ad5ffb9d63c225b14a39f683fc63 (patch)
tree10f84c0bb3198a52090cedfebb40bcb589a9bbff
parentbdeaad1d1352639499878a962c61a3dad908a7b4 (diff)
downloadFreeBSD-src-27b662b36f78ad5ffb9d63c225b14a39f683fc63.zip
FreeBSD-src-27b662b36f78ad5ffb9d63c225b14a39f683fc63.tar.gz
un-staticize M_AGP so that it can be used in agp*.c
-rw-r--r--sys/dev/agp/agp.c2
-rw-r--r--sys/pci/agp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/agp/agp.c b/sys/dev/agp/agp.c
index 97dcddd..a9d85bb 100644
--- a/sys/dev/agp/agp.c
+++ b/sys/dev/agp/agp.c
@@ -59,7 +59,7 @@
MODULE_VERSION(agp, 1);
-static MALLOC_DEFINE(M_AGP, "agp", "AGP data structures");
+MALLOC_DEFINE(M_AGP, "agp", "AGP data structures");
#define CDEV_MAJOR 148
/* agp_drv.c */
diff --git a/sys/pci/agp.c b/sys/pci/agp.c
index 97dcddd..a9d85bb 100644
--- a/sys/pci/agp.c
+++ b/sys/pci/agp.c
@@ -59,7 +59,7 @@
MODULE_VERSION(agp, 1);
-static MALLOC_DEFINE(M_AGP, "agp", "AGP data structures");
+MALLOC_DEFINE(M_AGP, "agp", "AGP data structures");
#define CDEV_MAJOR 148
/* agp_drv.c */
OpenPOWER on IntegriCloud