xf86drm: use the correct device minor names on OpenBSD
authorJonathan Gray <jsg@jsg.id.au>
Mon, 20 Jul 2015 17:12:56 +0000 (03:12 +1000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 29 Jul 2015 17:04:15 +0000 (18:04 +0100)
commitfc083322b0c8a58b51976adf23a582bce8bb75f1
treea5b9deb7b0e4637df7441c5da6b884d5292ea9c4
parent66c3afb75fa993f2f8b00c2dd9c2ec37a3a9dfb6
xf86drm: use the correct device minor names on OpenBSD

Add defines for the device minor names and make use of them
in drmGetMinorName() so the correct paths will be used on OpenBSD.

v2: don't add new defines to xf86drm.h to keep them out of the API
    as requested by Emil.

Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
xf86drm.c
xf86drm.h