diff options
author | Aaro Koskinen | 2012-11-04 20:14:47 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2012-11-13 21:54:19 +0100 |
commit | bdc9eb142cedda1dad47cea8b4112d5f03913ed2 (patch) | |
tree | e55f414c7e2ecf25650878cf9f754ae9f5580f43 /drivers/staging/xgifb/vb_struct.h | |
parent | staging: xgifb: XGI_GetLcdPtr: pass the table pointer directly (diff) | |
download | kernel-qcow2-linux-bdc9eb142cedda1dad47cea8b4112d5f03913ed2.tar.gz kernel-qcow2-linux-bdc9eb142cedda1dad47cea8b4112d5f03913ed2.tar.xz kernel-qcow2-linux-bdc9eb142cedda1dad47cea8b4112d5f03913ed2.zip |
staging: xgifb: constify LCD data
Make read-only LCD data tables const.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/xgifb/vb_struct.h')
-rw-r--r-- | drivers/staging/xgifb/vb_struct.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/xgifb/vb_struct.h b/drivers/staging/xgifb/vb_struct.h index c6f032bc6629..642141994e4c 100644 --- a/drivers/staging/xgifb/vb_struct.h +++ b/drivers/staging/xgifb/vb_struct.h @@ -56,7 +56,7 @@ struct XGI330_LCDDataTablStruct { unsigned char PANELID; unsigned short MASK; unsigned short CAP; - void *DATAPTR; + void const *DATAPTR; }; struct XGI330_TVDataTablStruct { @@ -178,7 +178,7 @@ struct vb_device_info { unsigned char *pXGINew_DRAMTypeDefinition; unsigned char XGINew_CR97; - struct XGI330_LCDCapStruct *LCDCapList; + struct XGI330_LCDCapStruct const *LCDCapList; struct XGI_TimingHStruct *TimingH; struct XGI_TimingVStruct *TimingV; |