[PATCH] gpu/drm: Fix trivial typo

Nikolas Nyby nikolas at gnu.org
Mon Aug 27 13:53:14 UTC 2018


Fix a typo in the drm_dev init and alloc docs: advertice -> advertise

Signed-off-by: Nikolas Nyby <nikolas at gnu.org>
---
 drivers/gpu/drm/drm_drv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c
index ea4941da9b27..282b43c44aab 100644
--- a/drivers/gpu/drm/drm_drv.c
+++ b/drivers/gpu/drm/drm_drv.c
@@ -468,7 +468,7 @@ static void drm_fs_inode_free(struct inode *inode)
  * @parent: Parent device object
  *
  * Initialize a new DRM device. No device registration is done.
- * Call drm_dev_register() to advertice the device to user space and register it
+ * Call drm_dev_register() to advertise the device to user space and register it
  * with other core subsystems. This should be done last in the device
  * initialization sequence to make sure userspace can't access an inconsistent
  * state.
@@ -622,7 +622,7 @@ EXPORT_SYMBOL(drm_dev_fini);
  * @parent: Parent device object
  *
  * Allocate and initialize a new DRM device. No device registration is done.
- * Call drm_dev_register() to advertice the device to user space and register it
+ * Call drm_dev_register() to advertise the device to user space and register it
  * with other core subsystems. This should be done last in the device
  * initialization sequence to make sure userspace can't access an inconsistent
  * state.
-- 
2.18.0



More information about the dri-devel mailing list