summaryrefslogtreecommitdiff
path: root/sys/dev/pci/vga_pci.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-08-10 00:18:36 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-08-10 00:18:36 +0000
commit004a1297c6478e988afe6cc4e79359763f0197b4 (patch)
tree30a5037fc0854a401dedbd876f414b35cf7b78f0 /sys/dev/pci/vga_pci.c
parentcea45eb87f5be96da379089698d4d9071d48462d (diff)
Style fixes and use of tabs for the DRM bits.
ok oga@
Diffstat (limited to 'sys/dev/pci/vga_pci.c')
-rw-r--r--sys/dev/pci/vga_pci.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/pci/vga_pci.c b/sys/dev/pci/vga_pci.c
index d006c9529c1..f8cc21198b9 100644
--- a/sys/dev/pci/vga_pci.c
+++ b/sys/dev/pci/vga_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vga_pci.c,v 1.35 2008/08/02 15:50:34 oga Exp $ */
+/* $OpenBSD: vga_pci.c,v 1.36 2008/08/10 00:18:35 brad Exp $ */
/* $NetBSD: vga_pci.c,v 1.3 1998/06/08 06:55:58 thorpej Exp $ */
/*
@@ -247,8 +247,8 @@ drmsubmatch(struct device *parent, void *match, void *aux)
/* is this a *drm device? */
len = strlen(cd->cd_name);
- sm = cd->cd_name + len -3;
- if (strncmp(sm,"drm",3) == 0)
+ sm = cd->cd_name + len - 3;
+ if (strncmp(sm, "drm", 3) == 0)
return ((*cf->cf_attach->ca_match)(parent, match, aux));
return (0);
@@ -257,9 +257,9 @@ drmsubmatch(struct device *parent, void *match, void *aux)
int
vga_drm_print(void *aux, const char *pnp)
{
- if (pnp)
- printf("drm at %s", pnp);
- return (UNSUPP);
+ if (pnp)
+ printf("drm at %s", pnp);
+ return (UNSUPP);
}
#endif