diff options
author | Ian Romanick <idr@umwelt.(none)> | 2006-07-14 09:11:39 -0700 |
---|---|---|
committer | Ian Romanick <idr@umwelt.(none)> | 2006-07-14 09:11:39 -0700 |
commit | 8793c7fd4ba7d1b3e2eff3f2c18d042ee9bb3f62 (patch) | |
tree | 1855f6f93c40321fec67af75f87cf599f6741910 /hw/xfree86/int10 | |
parent | 1450fd596433f7adfe3d0798dc2ddceb9d0a9034 (diff) |
Refactor identical xf86InitInt10 function from generic.c and linux.c
to helper_exec.c.
Diffstat (limited to 'hw/xfree86/int10')
-rw-r--r-- | hw/xfree86/int10/generic.c | 6 | ||||
-rw-r--r-- | hw/xfree86/int10/helper_exec.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/hw/xfree86/int10/generic.c b/hw/xfree86/int10/generic.c index 69596d48e..03fc89c96 100644 --- a/hw/xfree86/int10/generic.c +++ b/hw/xfree86/int10/generic.c @@ -63,12 +63,6 @@ static void UnmapVRam(xf86Int10InfoPtr pInt); static void *sysMem = NULL; xf86Int10InfoPtr -xf86InitInt10(int entityIndex) -{ - return xf86ExtendedInitInt10(entityIndex, 0); -} - -xf86Int10InfoPtr xf86ExtendedInitInt10(int entityIndex, int Flags) { xf86Int10InfoPtr pInt; diff --git a/hw/xfree86/int10/helper_exec.c b/hw/xfree86/int10/helper_exec.c index 1809e2d95..97ed75758 100644 --- a/hw/xfree86/int10/helper_exec.c +++ b/hw/xfree86/int10/helper_exec.c @@ -685,3 +685,9 @@ xf86Int10SaveRestoreBIOSVars(xf86Int10InfoPtr pInt, Bool save) xf86UnMapVidMem(pInt->scrnIndex,base - BIOS_SCRATCH_OFF ,pagesize); } #endif + +xf86Int10InfoPtr +xf86InitInt10(int entityIndex) +{ + return xf86ExtendedInitInt10(entityIndex, 0); +} |