Module Name:    src
Committed By:   riastradh
Date:           Wed Jul 24 03:54:01 UTC 2013

Modified Files:
        src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: i915_pci.c

Log Message:
Initialize sc->sc_drm_dev->driver = i915_drm_driver in i915drm_attach.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/external/bsd/drm2/i915drm/i915_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/drm2/i915drm/i915_pci.c
diff -u src/sys/external/bsd/drm2/i915drm/i915_pci.c:1.1.2.1 src/sys/external/bsd/drm2/i915drm/i915_pci.c:1.1.2.2
--- src/sys/external/bsd/drm2/i915drm/i915_pci.c:1.1.2.1	Wed Jul 24 03:27:18 2013
+++ src/sys/external/bsd/drm2/i915drm/i915_pci.c	Wed Jul 24 03:54:01 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: i915_pci.c,v 1.1.2.1 2013/07/24 03:27:18 riastradh Exp $	*/
+/*	$NetBSD: i915_pci.c,v 1.1.2.2 2013/07/24 03:54:01 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i915_pci.c,v 1.1.2.1 2013/07/24 03:27:18 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i915_pci.c,v 1.1.2.2 2013/07/24 03:54:01 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/systm.h>
@@ -122,6 +122,7 @@ i915drm_attach(device_t parent, device_t
 	}
 
 	/* Initialize the drm pci driver state.  */
+	sc->sc_drm_dev.driver = i915_drm_driver;
 	drm_pci_attach(self, pa, &sc->sc_pci_dev, &sc->sc_drm_dev);
 
 	/* Attach the drm driver.  */

Reply via email to