mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 12:49:21 +00:00
xfree86: fix xf86I2CBusInit() prototype
name parameter should be const char * Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
e9c7aa82e9
commit
d8925febf6
@@ -769,7 +769,7 @@ xf86I2CBusInit(I2CBusPtr b)
|
||||
}
|
||||
|
||||
I2CBusPtr
|
||||
xf86I2CFindBus(int scrnIndex, char *name)
|
||||
xf86I2CFindBus(int scrnIndex, const char *name)
|
||||
{
|
||||
I2CBusPtr p;
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ extern _X_EXPORT void xf86DestroyI2CBusRec(I2CBusPtr pI2CBus, Bool unalloc,
|
||||
#define I2CBusInit xf86I2CBusInit
|
||||
extern _X_EXPORT Bool xf86I2CBusInit(I2CBusPtr pI2CBus);
|
||||
|
||||
extern _X_EXPORT I2CBusPtr xf86I2CFindBus(int scrnIndex, char *name);
|
||||
extern _X_EXPORT I2CBusPtr xf86I2CFindBus(int scrnIndex, const char *name);
|
||||
extern _X_EXPORT int xf86I2CGetScreenBuses(int scrnIndex,
|
||||
I2CBusPtr ** pppI2CBus);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user