diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-14 10:13:30 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-21 11:56:18 +0000 |
commit | 58f5cbf275f8fb9529cba20df2564d370a6107da (patch) | |
tree | b3733535bd312bf56ba8ac70607599917b4a497b /drivers/video/sa1100fb.h | |
parent | 4f7e34f8eff0b3dbbd75cc778b0a363bdb29ac18 (diff) | |
download | op-kernel-dev-58f5cbf275f8fb9529cba20df2564d370a6107da.zip op-kernel-dev-58f5cbf275f8fb9529cba20df2564d370a6107da.tar.gz |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/sa1100fb.h b/drivers/video/sa1100fb.h index 1c3b459..7a3d66a 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; |