summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pci.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-05-06 22:05:39 +0000
committerpeter <peter@FreeBSD.org>1999-05-06 22:05:39 +0000
commitd974110a16308dd8420a5d8c9223b56fd44825ea (patch)
tree2f0e24af5abe21e4dd50878ccce9aea84b6923cd /sys/dev/pci/pci.c
parentc2abae71b4eef1dadb72c8ef8c58a019ec062890 (diff)
downloadFreeBSD-src-d974110a16308dd8420a5d8c9223b56fd44825ea.zip
FreeBSD-src-d974110a16308dd8420a5d8c9223b56fd44825ea.tar.gz
Fix a goof on my part; s/struct moduledata */struct module */
Diffstat (limited to 'sys/dev/pci/pci.c')
-rw-r--r--sys/dev/pci/pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 6312279..b502a70 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pci.c,v 1.95 1999/04/16 21:22:52 peter Exp $
+ * $Id: pci.c,v 1.96 1999/04/24 19:59:20 peter Exp $
*
*/
@@ -928,7 +928,7 @@ static devclass_t pci_devclass;
* Create a new style driver around each old pci driver.
*/
int
-compat_pci_handler(struct moduledata *mod, int type, void *data)
+compat_pci_handler(module_t mod, int type, void *data)
{
struct pci_device *dvp = (struct pci_device *)data;
driver_t *driver;
@@ -947,7 +947,7 @@ compat_pci_handler(struct moduledata *mod, int type, void *data)
devclass_add_driver(pci_devclass, driver);
break;
case MOD_UNLOAD:
- printf("%s: module unload not supported!\n", mod->name);
+ printf("%s: module unload not supported!\n", dvp->pd_name);
return EOPNOTSUPP;
default:
break;
OpenPOWER on IntegriCloud