Skip to content

Commit c749088

Browse files
committedAug 25, 2019
Merge tag 'auxdisplay-for-linus-v5.3-rc7' of git://github.com/ojeda/linux
Pull auxdisplay cleanup from Miguel Ojeda: "Make ht16k33_fb_fix and ht16k33_fb_var constant (Nishka Dasgupta)" * tag 'auxdisplay-for-linus-v5.3-rc7' of git://github.com/ojeda/linux: auxdisplay: ht16k33: Make ht16k33_fb_fix and ht16k33_fb_var constant
2 parents 32ae83f + a180d02 commit c749088

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎drivers/auxdisplay/ht16k33.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ struct ht16k33_priv {
7474
struct ht16k33_fbdev fbdev;
7575
};
7676

77-
static struct fb_fix_screeninfo ht16k33_fb_fix = {
77+
static const struct fb_fix_screeninfo ht16k33_fb_fix = {
7878
.id = DRIVER_NAME,
7979
.type = FB_TYPE_PACKED_PIXELS,
8080
.visual = FB_VISUAL_MONO10,
@@ -85,7 +85,7 @@ static struct fb_fix_screeninfo ht16k33_fb_fix = {
8585
.accel = FB_ACCEL_NONE,
8686
};
8787

88-
static struct fb_var_screeninfo ht16k33_fb_var = {
88+
static const struct fb_var_screeninfo ht16k33_fb_var = {
8989
.xres = HT16K33_MATRIX_LED_MAX_ROWS,
9090
.yres = HT16K33_MATRIX_LED_MAX_COLS,
9191
.xres_virtual = HT16K33_MATRIX_LED_MAX_ROWS,

0 commit comments

Comments
 (0)
Please sign in to comment.