projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6ff753
)
video: fbdev: intelfb: use const pointer for fb_ops
author
Jani Nikula
<jani.nikula@intel.com>
Tue, 3 Dec 2019 16:38:49 +0000
(18:38 +0200)
committer
Jani Nikula
<jani.nikula@intel.com>
Thu, 5 Dec 2019 08:57:48 +0000
(10:57 +0200)
Use const for fb_ops to let us make the fbops struct const in the
future.
Cc: linux-fbdev@vger.kernel.org
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/171c573bc2977a6ec374753ac7bb03a3523ca2b7.1575390740.git.jani.nikula@intel.com
drivers/video/fbdev/intelfb/intelfb.h
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/intelfb/intelfb.h
b/drivers/video/fbdev/intelfb/intelfb.h
index
b54db05
..
5de7039
100644
(file)
--- a/
drivers/video/fbdev/intelfb/intelfb.h
+++ b/
drivers/video/fbdev/intelfb/intelfb.h
@@
-273,7
+273,7
@@
struct intelfb_vsync {
struct intelfb_info {
struct fb_info *info;
-
struct fb_ops
*fbops;
+
const struct fb_ops
*fbops;
struct pci_dev *pdev;
struct intelfb_hwstate save_state;