From: Xiao Jiang Date: Mon, 14 Feb 2011 09:58:23 +0000 (+0800) Subject: drm: fix wrong usages of drm_device in DRM Developer's Guide X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bd91572e77013aad242e2d2d565bd730c043f8b8;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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: Xiao Jiang Signed-off-by: Dave Airlie --- diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl index 2861055afd7a..c27915893974 100644 --- a/Documentation/DocBook/drm.tmpl +++ b/Documentation/DocBook/drm.tmpl @@ -73,8 +73,8 @@ services. - 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. @@ -84,7 +84,7 @@ Driver initialization 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. static struct drm_driver driver = {