diff options
-rw-r--r-- | src/nv_driver.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/nv_driver.c b/src/nv_driver.c index 470f70d..8a112db 100644 --- a/src/nv_driver.c +++ b/src/nv_driver.c @@ -81,6 +81,12 @@ static Bool NVPlatformProbe(DriverPtr driver, #endif _X_EXPORT int NVEntityIndex = -1; + +static int getNVEntityIndex(void) +{ + return NVEntityIndex; +} + /* * This contains the functions needed by the server after loading the * driver module. It must be supplied, and gets added the driver list by @@ -695,13 +701,6 @@ nouveau_setup_capabilities(ScrnInfoPtr pScrn) #endif } -extern _X_EXPORT int NVEntityIndex; - -static int getNVEntityIndex(void) -{ - return NVEntityIndex; -} - NVEntPtr NVEntPriv(ScrnInfoPtr pScrn) { DevUnion *pPriv; |