mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
xfree86: i2c: constify I2CBusRec::name
The bus name is always assigned to string literals, thus pointing to constant data. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
e0440a0b42
commit
171862626e
@@ -17,7 +17,7 @@ typedef struct _I2CDevRec *I2CDevPtr;
|
||||
/* I2C masters have to register themselves */
|
||||
|
||||
typedef struct _I2CBusRec {
|
||||
char *BusName;
|
||||
const char *BusName;
|
||||
int scrnIndex;
|
||||
ScrnInfoPtr pScrn;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user