Change names of prototype function parameters, according to coding style.
Patch upholds compileability.

Co-developed-by: Daniel Bauer <daniel.j.ba...@fau.de>
Signed-off-by: Daniel Bauer <daniel.j.ba...@fau.de>
Signed-off-by: Sven Leykauf <sven_leyka...@web.de>
---
 drivers/staging/sm750fb/sm750_accel.h | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/staging/sm750fb/sm750_accel.h 
b/drivers/staging/sm750fb/sm750_accel.h
index 2c79cb730a0a..7b92f482ee86 100644
--- a/drivers/staging/sm750fb/sm750_accel.h
+++ b/drivers/staging/sm750fb/sm750_accel.h
@@ -190,7 +190,7 @@ void sm750_hw_set2dformat(struct lynx_accel *accel, int 
fmt);
 void sm750_hw_de_init(struct lynx_accel *accel);
 
 int sm750_hw_fillrect(struct lynx_accel *accel,
-                     u32 base, u32 pitch, u32 Bpp,
+                     u32 base, u32 pitch, u32 bpp,
                      u32 x, u32 y, u32 width, u32 height,
                      u32 color, u32 rop);
 
@@ -210,10 +210,10 @@ int sm750_hw_fillrect(struct lynx_accel *accel,
  * @rop2: ROP value
  */
 int sm750_hw_copyarea(struct lynx_accel *accel,
-                     unsigned int sBase, unsigned int sPitch,
+                     unsigned int s_base, unsigned int s_pitch,
                      unsigned int sx, unsigned int sy,
-                     unsigned int dBase, unsigned int dPitch,
-                     unsigned int Bpp, unsigned int dx, unsigned int dy,
+                     unsigned int d_base, unsigned int d_pitch,
+                     unsigned int bpp, unsigned int dx, unsigned int dy,
                      unsigned int width, unsigned int height,
                      unsigned int rop2);
 
@@ -235,9 +235,9 @@ int sm750_hw_copyarea(struct lynx_accel *accel,
  * @bColor: Background color (corresponding to a 0 in the monochrome data
  * @rop2: ROP value
  */
-int sm750_hw_imageblit(struct lynx_accel *accel, const char *pSrcbuf,
-                      u32 srcDelta, u32 startBit, u32 dBase, u32 dPitch,
-                      u32 bytePerPixel, u32 dx, u32 dy, u32 width,
-                      u32 height, u32 fColor, u32 bColor, u32 rop2);
+int sm750_hw_imageblit(struct lynx_accel *accel, const char *p_srcbuf,
+                      u32 src_delta, u32 start_bit, u32 d_base, u32 d_pitch,
+                      u32 byte_per_pixel, u32 dx, u32 dy, u32 width,
+                      u32 height, u32 f_color, u32 b_color, u32 rop2);
 
 #endif
-- 
2.20.1

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to