[xf86-video-armada][PATCH v2 2/2] etnaviv: use different error code

Stefan Agner stefan at agner.ch
Fri Aug 17 17:19:05 UTC 2018


The return code LDR_NOHARDWARE has been dropped in X.Org Server
1.20. Use LDR_MODSPECIFIC instead.

Signed-off-by: Stefan Agner <stefan at agner.ch>
---
 etnaviv/etnadrm_module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etnaviv/etnadrm_module.c b/etnaviv/etnadrm_module.c
index 4307ff7..5e97cee 100644
--- a/etnaviv/etnadrm_module.c
+++ b/etnaviv/etnadrm_module.c
@@ -27,7 +27,7 @@ static pointer etnadrm_setup(pointer module, pointer opts, int *errmaj,
 		return (pointer) 1;
 	}
 
-	*errmaj = LDR_NOHARDWARE;
+	*errmaj = LDR_MODSPECIFIC;
 	*errmin = 0;
 
 	return NULL;
-- 
2.18.0



More information about the etnaviv mailing list