diff options
| author | macallan <macallan@NetBSD.org> | 2007-08-18 18:35:15 +0000 |
|---|---|---|
| committer | macallan <macallan@NetBSD.org> | 2007-08-18 18:35:15 +0000 |
| commit | 4cd1e587c357046d864d70caa0220f7461f0874b (patch) | |
| tree | 5b50e2d2dcac93deae83dbb982afcec3736709de /sys/dev | |
| parent | 9e20ecb74527ed4f3049d7e971fb5d315a7d32da (diff) | |
use bool with prop_dictionary_get_bool
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/radeonfb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/radeonfb.c b/sys/dev/pci/radeonfb.c index 2d57dd63ef0..9bed6fe7acf 100644 --- a/sys/dev/pci/radeonfb.c +++ b/sys/dev/pci/radeonfb.c @@ -1,4 +1,4 @@ -/* $NetBSD: radeonfb.c,v 1.17 2007/08/03 05:40:47 macallan Exp $ */ +/* $NetBSD: radeonfb.c,v 1.18 2007/08/18 18:35:15 macallan Exp $ */ /*- * Copyright (c) 2006 Itronix Inc. @@ -70,7 +70,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: radeonfb.c,v 1.17 2007/08/03 05:40:47 macallan Exp $"); +__KERNEL_RCSID(0, "$NetBSD: radeonfb.c,v 1.18 2007/08/18 18:35:15 macallan Exp $"); #define RADEONFB_DEFAULT_DEPTH 32 @@ -498,7 +498,7 @@ radeonfb_attach(struct device *parent, struct device *dev, void *aux) (sc->sc_family == RADEON_RV250) || (sc->sc_family == RADEON_RV280) || (sc->sc_family == RADEON_RV350)) { - int inverted = 0; + bool inverted = 0; /* backlight level is linear */ DPRINTF(("found RV* chip, backlight is supposedly linear\n")); prop_dictionary_get_bool(device_properties(&sc->sc_dev), |
