Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/riastradh-drm2]: src/sys/external/bsd/drm2/pci Initialize dev->driver->b...



details:   https://anonhg.NetBSD.org/src/rev/8caf4fcd0e48
branches:  riastradh-drm2
changeset: 788455:8caf4fcd0e48
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 24 03:53:30 2013 +0000

description:
Initialize dev->driver->bus in drm_pci_attach.

diffstat:

 sys/external/bsd/drm2/pci/drm_pci.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r fb9288a53901 -r 8caf4fcd0e48 sys/external/bsd/drm2/pci/drm_pci.c
--- a/sys/external/bsd/drm2/pci/drm_pci.c       Wed Jul 24 03:53:14 2013 +0000
+++ b/sys/external/bsd/drm2/pci/drm_pci.c       Wed Jul 24 03:53:30 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_pci.c,v 1.1.2.3 2013/07/24 03:32:19 riastradh Exp $        */
+/*     $NetBSD: drm_pci.c,v 1.1.2.4 2013/07/24 03:53:30 riastradh Exp $        */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_pci.c,v 1.1.2.3 2013/07/24 03:32:19 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_pci.c,v 1.1.2.4 2013/07/24 03:53:30 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/errno.h>
@@ -78,6 +78,8 @@
     struct pci_dev *pdev, struct drm_device *dev)
 {
 
+       dev->driver->bus = &drm_pci_bus;
+
        linux_pci_dev_init(pdev, self, pa, 0);
 
        dev->pdev = pdev;



Home | Main Index | Thread Index | Old Index