aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding2016-12-21 11:00:52 -0600
committerThierry Reding2017-01-12 15:40:41 -0600
commite17cad1994d321a8279c124e7a85ddddcdd9e4cd (patch)
treec81e911278a3c867de47b1052d8b4185f96ee597 /xf86drm.c
parenteebefaf72c55fd2116f4c983ec6724a4d66ab413 (diff)
downloadexternal-libdrm-e17cad1994d321a8279c124e7a85ddddcdd9e4cd.tar.gz
external-libdrm-e17cad1994d321a8279c124e7a85ddddcdd9e4cd.tar.xz
external-libdrm-e17cad1994d321a8279c124e7a85ddddcdd9e4cd.zip
xf86drm: Fix indentation
libdrm uses spaces for indentation. Fix the two inconsistent lines in this file. Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'xf86drm.c')
-rw-r--r--xf86drm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xf86drm.c b/xf86drm.c
index 7d7df184..b8b2cfe5 100644
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -2908,7 +2908,7 @@ static int drmParseSubsystemType(int maj, int min)
2908 2908
2909 return -EINVAL; 2909 return -EINVAL;
2910#elif defined(__OpenBSD__) 2910#elif defined(__OpenBSD__)
2911 return DRM_BUS_PCI; 2911 return DRM_BUS_PCI;
2912#else 2912#else
2913#warning "Missing implementation of drmParseSubsystemType" 2913#warning "Missing implementation of drmParseSubsystemType"
2914 return -EINVAL; 2914 return -EINVAL;
@@ -3419,7 +3419,7 @@ int drmGetDevice2(int fd, uint32_t flags, drmDevicePtr *device)
3419 closedir(sysdir); 3419 closedir(sysdir);
3420 free(local_devices); 3420 free(local_devices);
3421 if (*device == NULL) 3421 if (*device == NULL)
3422 return -ENODEV; 3422 return -ENODEV;
3423 return 0; 3423 return 0;
3424 3424
3425free_devices: 3425free_devices: