xfree86: drivers: ark: use void* instead pointer

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-07-22 18:58:15 +02:00
committed by Enrico Weigelt
parent 5e45c860eb
commit b5a9748be7
2 changed files with 4 additions and 4 deletions

View File

@@ -38,8 +38,8 @@ typedef struct _ARKRec {
#endif
EntityInfoPtr pEnt;
CARD32 IOAddress;
pointer FBBase;
pointer MMIOBase;
void* FBBase;
void* MMIOBase;
unsigned long videoRam;
OptionInfoPtr Options;
unsigned int Flags;

View File

@@ -126,14 +126,14 @@ static XF86ModuleVersionInfo ARKVersRec = {
_X_EXPORT XF86ModuleData arkModuleData = { &ARKVersRec, ARKSetup, NULL };
pointer ARKSetup(pointer module, pointer opts, int *errmaj, int *errmin)
void *ARKSetup(void *module, void* opts, int *errmaj, int *errmin)
{
static Bool setupDone = FALSE;
if (!setupDone) {
setupDone = TRUE;
xf86AddDriver(&ARK, module, 0);
return (pointer) 1;
return (void*) 1;
} else {
if (errmaj)
*errmaj = LDR_ONCEONLY;