summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKisub Choe <kisub.choe.0x1@gmail.com>2025-06-18 23:33:42 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-06-19 17:32:46 +0200
commit52bacd2766a3426d21aa5396772ac653b7dbd822 (patch)
tree8302e9ca8ba0467b7de6e03b7233e65bbcd88285
parent349f6bef120529df638190a06bdf30e9b3aadf58 (diff)
staging: sm750fb: rename 'hwCursor'
Rename 'hwCursor' to 'hw_cursor' to conform with kernel style guidelines as reported by checkpatch.pl CHECK: Avoid CamelCase: <hwCursor> Signed-off-by: Kisub Choe <kisub.choe.0x1@gmail.com> Link: https://lore.kernel.org/r/20250618143342.6517-1-kisub.choe.0x1@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/sm750fb/sm750.c2
-rw-r--r--drivers/staging/sm750fb/sm750.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c
index 1d929aca399c..62d8701d18dd 100644
--- a/drivers/staging/sm750fb/sm750.c
+++ b/drivers/staging/sm750fb/sm750.c
@@ -598,7 +598,7 @@ static int sm750fb_set_drv(struct lynxfb_par *par)
crtc->vidmem_size >>= 1;
/* setup crtc and output member */
- sm750_dev->hwCursor = g_hwcursor;
+ sm750_dev->hw_cursor = g_hwcursor;
crtc->line_pad = 16;
crtc->xpanstep = 8;
diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h
index 9cf8b3d30aac..52ccf1b51630 100644
--- a/drivers/staging/sm750fb/sm750.h
+++ b/drivers/staging/sm750fb/sm750.h
@@ -113,7 +113,7 @@ struct sm750_dev {
* 2: secondary crtc hw cursor enabled
* 3: both ctrc hw cursor enabled
*/
- int hwCursor;
+ int hw_cursor;
};
struct lynx_cursor {