Skip to contentSkip to conversation

drm: fix wrong usages of drm_device in DRM Developer's Guide

PATCH In review [email protected] 3 participants 3 messages Feb 14, 2011 – Feb 16, 2011 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm: fix wrong usages of drm_device in DRM Developer's Guide

From: Xiao Jiang <[email protected]>

A few wrong usages of drm_device, which should be drm_driver.

---
 Documentation/DocBook/drm.tmpl |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
Documentation/DocBook/drm.tmpl +3 -3
index 2861055..c279158 100644
@@ -73,8 +73,8 @@
       services.
     </para>
     <para>
-      The core of every DRM driver is struct drm_device.  Drivers
-      will typically statically initialize a drm_device structure,
+      The core of every DRM driver is struct drm_driver.  Drivers
+      will typically statically initialize a drm_driver structure,
       then pass it to drm_init() at load time.
     </para>
 
@@ -84,7 +84,7 @@
     <title>Driver initialization</title>
     <para>
       Before calling the DRM initialization routines, the driver must
-      first create and fill out a struct drm_device structure.
+      first create and fill out a struct drm_driver structure.
     </para>
     <programlisting>
       static struct drm_driver driver = {
Signature · 1 line
1.6.3.1
#2 lore raw
Quoted 11 lines · On Wed, 16 Feb 2011 12:18:59 -0800 Jesse Barnes wrote:
Quoted 4 lines · On Mon, 14 Feb 2011 01:58:23 -0800 "[email protected]" <[email protected]> wrote:

From: Xiao Jiang <[email protected]>

A few wrong usages of drm_device, which should be drm_driver.

Ah thanks, yeah it's mixed up.

Thanks, added to my docs quilt queue (unless someone else grabs it :).

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***