History

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

Linus Torvalds committed 7 years ago

Commit c7490882 parents 32ae83f a180d021 file · +2 −2Browse files

Unified · Split

drivers/auxdisplay/ht16k33.c+2−2
@@ -74,7 +74,7 @@ struct ht16k33_priv { · 73 unmodified lines
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 = { · 4 unmodified lines
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,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t