summaryrefslogtreecommitdiffstats
path: root/drivers/video/sa1100fb.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-01-14 11:13:30 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-02-21 12:56:18 +0100
commit58f5cbf275f8fb9529cba20df2564d370a6107da (patch)
treeb3733535bd312bf56ba8ac70607599917b4a497b /drivers/video/sa1100fb.h
parentFB: sa1100: add .owner initializer to driver structure (diff)
downloadlinux-58f5cbf275f8fb9529cba20df2564d370a6107da.tar.xz
linux-58f5cbf275f8fb9529cba20df2564d370a6107da.zip
FB: sa1100: constify rgb structures
The rgb structures should only be read and never written. Constify them. Acked-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/video/sa1100fb.h')
-rw-r--r--drivers/video/sa1100fb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/sa1100fb.h b/drivers/video/sa1100fb.h
index 1c3b459865d8..7a3d66a5516f 100644
--- a/drivers/video/sa1100fb.h
+++ b/drivers/video/sa1100fb.h
@@ -65,7 +65,7 @@ struct sa1100fb_lcd_reg {
struct sa1100fb_info {
struct fb_info fb;
struct device *dev;
- struct sa1100fb_rgb *rgb[NR_RGB];
+ const struct sa1100fb_rgb *rgb[NR_RGB];
u_int max_bpp;
u_int max_xres;