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.
Signed-off-by: Gabriel Changamire <redacted>
---
drivers/staging/sm750fb/sm750_accel.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/sm750fb/sm750_accel.h b/drivers/staging/sm750fb/sm750_accel.h
index 617885431661..e76928bf260f 100644
--- a/drivers/staging/sm750fb/sm750_accel.h
+++ b/drivers/staging/sm750fb/sm750_accel.h
@@ -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
--
2.47.3