Skip to contentSkip to conversation

staging: sm750fb: fix kernel-doc comments in sm750_accel.h

PATCH New Gabriel Changamire 1 participant 1 message Jul 28

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: sm750fb: fix kernel-doc comments in sm750_accel.h

Fix the function name typo in the kernel-doc comment for sm750_hw_copyarea() (sm750_hm_copyarea) and add the missing @accel parameter descriptions for sm750_hw_copyarea() and sm750_hw_imageblit(), using the same wording as the corresponding comments in sm750_accel.c.

This silences the kernel-doc warnings about the mismatched function name and the undescribed accel parameters. No functional change.

---
 drivers/staging/sm750fb/sm750_accel.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/staging/sm750fb/sm750_accel.h +3 -1
index 617885431661..e76928bf260f 100644
@@ -195,7 +195,8 @@ int sm750_hw_fillrect(struct lynx_accel *accel,
 		      u32 color, u32 rop);
 
 /**
- * sm750_hm_copyarea
+ * sm750_hw_copyarea
+ * @accel: Acceleration device data
  * @source_base: Address of source: offset in frame buffer
  * @source_pitch: Pitch value of source surface in BYTE
  * @sx: Starting x coordinate of source surface
@@ -219,6 +220,7 @@ int sm750_hw_copyarea(struct lynx_accel *accel,
 
 /**
  * sm750_hw_imageblit
+ * @accel: Acceleration device data
  * @src_buf: pointer to start of source buffer in system memory
  * @src_delta: Pitch value (in bytes) of the source buffer, +ive means top down
  *>-----      and -ive mean button up
Signature · 1 line
2.47.3