Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd91572e authored by Xiao Jiang's avatar Xiao Jiang Committed by Dave Airlie
Browse files

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



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

Signed-off-by: default avatarXiao Jiang <jgq516@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 265aa6c8
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -73,8 +73,8 @@
      services.
      services.
    </para>
    </para>
    <para>
    <para>
      The core of every DRM driver is struct drm_device.  Drivers
      The core of every DRM driver is struct drm_driver.  Drivers
      will typically statically initialize a drm_device structure,
      will typically statically initialize a drm_driver structure,
      then pass it to drm_init() at load time.
      then pass it to drm_init() at load time.
    </para>
    </para>


@@ -84,7 +84,7 @@
    <title>Driver initialization</title>
    <title>Driver initialization</title>
    <para>
    <para>
      Before calling the DRM initialization routines, the driver must
      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>
    </para>
    <programlisting>
    <programlisting>
      static struct drm_driver driver = {
      static struct drm_driver driver = {