All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] drm: fix wrong usages of drm_device in DRM Developer's Guide
@ 2011-02-14  9:58 jgq516
  2011-02-16 20:18 ` Jesse Barnes
  0 siblings, 1 reply; 3+ messages in thread
From: jgq516 @ 2011-02-14  9:58 UTC (permalink / raw)
  To: rdunlap, jesse.barnes, airlied; +Cc: linux-doc, linux-kernel

From: Xiao Jiang <jgq516@gmail.com>

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

Signed-off-by: Xiao Jiang <jgq516@gmail.com>
---
 Documentation/DocBook/drm.tmpl |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl
index 2861055..c279158 100644
--- a/Documentation/DocBook/drm.tmpl
+++ b/Documentation/DocBook/drm.tmpl
@@ -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 = {
-- 
1.6.3.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] drm: fix wrong usages of drm_device in DRM Developer's Guide
  2011-02-14  9:58 [PATCH 1/1] drm: fix wrong usages of drm_device in DRM Developer's Guide jgq516
@ 2011-02-16 20:18 ` Jesse Barnes
  2011-02-16 22:14   ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Jesse Barnes @ 2011-02-16 20:18 UTC (permalink / raw)
  To: jgq516; +Cc: rdunlap, airlied, linux-doc, linux-kernel

On Mon, 14 Feb 2011 01:58:23 -0800
"jgq516@gmail.com" <jgq516@gmail.com> wrote:

> From: Xiao Jiang <jgq516@gmail.com>
> 
> A few wrong usages of drm_device, which should be drm_driver.
> 

Ah thanks, yeah it's mixed up.

Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>

-- 
Jesse Barnes, Intel Open Source Technology Center

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] drm: fix wrong usages of drm_device in DRM Developer's Guide
  2011-02-16 20:18 ` Jesse Barnes
@ 2011-02-16 22:14   ` Randy Dunlap
  0 siblings, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2011-02-16 22:14 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: jgq516, airlied, linux-doc, linux-kernel

On Wed, 16 Feb 2011 12:18:59 -0800 Jesse Barnes wrote:

> On Mon, 14 Feb 2011 01:58:23 -0800
> "jgq516@gmail.com" <jgq516@gmail.com> wrote:
> 
> > From: Xiao Jiang <jgq516@gmail.com>
> > 
> > A few wrong usages of drm_device, which should be drm_driver.
> > 
> 
> Ah thanks, yeah it's mixed up.
> 
> Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>


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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-16 22:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-14  9:58 [PATCH 1/1] drm: fix wrong usages of drm_device in DRM Developer's Guide jgq516
2011-02-16 20:18 ` Jesse Barnes
2011-02-16 22:14   ` Randy Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.