mirror of
https://github.com/X11Libre/xf86-video-chips.git
synced 2026-03-23 17:19:27 +00:00
use XNFalloc() instead of xnfalloc
xnfalloc is just an alias for XNFalloc() that doesn't seem to serve any practical purpose, so it can go away once all drivers stopped using it. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-chips/-/merge_requests/8>
This commit is contained in:
committed by
Marge Bot
parent
1f2f3ada40
commit
34483e1ba9
@@ -2771,7 +2771,7 @@ chipsPreInitWingine(ScrnInfoPtr pScrn, int flags)
|
||||
/* 32bit register address offsets */
|
||||
if ((cPtr->Flags & ChipsAccelSupport) ||
|
||||
(cPtr->Accel.UseHWCursor)) {
|
||||
cPtr->Regs32 = xnfalloc(sizeof(ChipsReg32));
|
||||
cPtr->Regs32 = XNFalloc(sizeof(ChipsReg32));
|
||||
tmp = cPtr->readXR(cPtr, 0x07);
|
||||
for( i = 0; i < (sizeof(ChipsReg32) / sizeof(ChipsReg32[0])); i++) {
|
||||
cPtr->Regs32[i] = ((ChipsReg32[i] & 0x7E03)) | ((tmp & 0x80)
|
||||
@@ -3456,7 +3456,7 @@ chipsPreInit655xx(ScrnInfoPtr pScrn, int flags)
|
||||
cPtr->Regs32 = ChipsReg32;
|
||||
else if ((cPtr->Flags & ChipsAccelSupport) ||
|
||||
(cPtr->Accel.UseHWCursor)) {
|
||||
cPtr->Regs32 = xnfalloc(sizeof(ChipsReg32));
|
||||
cPtr->Regs32 = XNFalloc(sizeof(ChipsReg32));
|
||||
tmp = cPtr->readXR(cPtr, 0x07);
|
||||
for (i = 0; i < (sizeof(ChipsReg32)/sizeof(ChipsReg32[0])); i++) {
|
||||
cPtr->Regs32[i] =
|
||||
|
||||
Reference in New Issue
Block a user