diff options
author | Eric Anholt <eric@anholt.net> | 2008-03-11 11:27:10 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-03-11 11:27:10 -0700 |
commit | 15f17aa682129c57d3864a355834edff06e91540 (patch) | |
tree | f6453ad9c26ac57a0f96c70e60254d5bf4ce2b75 /src/ch7xxx | |
parent | 642ba6278876ec945ad687c2b9624e532cd3f629 (diff) |
Cleanse DVO drivers of CARD* types.
Diffstat (limited to 'src/ch7xxx')
-rw-r--r-- | src/ch7xxx/ch7xxx.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ch7xxx/ch7xxx.c b/src/ch7xxx/ch7xxx.c index 51fa78e6..3309a569 100644 --- a/src/ch7xxx/ch7xxx.c +++ b/src/ch7xxx/ch7xxx.c @@ -50,7 +50,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ static struct ch7xxx_id_struct { - CARD8 vid; + uint8_t vid; char *name; } ch7xxx_ids[] = { { CH7011_VID, "CH7011" }, @@ -62,7 +62,7 @@ static struct ch7xxx_id_struct { #define ID_ARRAY_SIZE (sizeof(ch7xxx_ids) / sizeof(ch7xxx_ids[0])) struct ch7xxx_reg_state { - CARD8 regs[CH7xxx_NUM_REGS]; + uint8_t regs[CH7xxx_NUM_REGS]; }; struct ch7xxx_priv { @@ -71,13 +71,13 @@ struct ch7xxx_priv { struct ch7xxx_reg_state SavedReg; struct ch7xxx_reg_state ModeReg; - CARD8 save_TCTL, save_TPCP, save_TPD, save_TPVT; - CARD8 save_TLPF, save_TCT, save_PM, save_IDF; + uint8_t save_TCTL, save_TPCP, save_TPD, save_TPVT; + uint8_t save_TLPF, save_TCT, save_PM, save_IDF; }; static void ch7xxx_save(I2CDevPtr d); -static char *ch7xxx_get_id(CARD8 vid) +static char *ch7xxx_get_id(uint8_t vid) { int i; @@ -126,7 +126,7 @@ ch7xxx_init(I2CBusPtr b, I2CSlaveAddr addr) { /* this will detect the CH7xxx chip on the specified i2c bus */ struct ch7xxx_priv *dev_priv; - CARD8 vendor, device; + uint8_t vendor, device; char *name; dev_priv = xcalloc(1, sizeof(struct ch7xxx_priv)); @@ -187,7 +187,7 @@ static xf86OutputStatus ch7xxx_detect(I2CDevPtr d) { struct ch7xxx_priv *dev_priv = d->DriverPrivate.ptr; - CARD8 cdet, orig_pm, pm; + uint8_t cdet, orig_pm, pm; ch7xxx_read(dev_priv, CH7xxx_PM, &orig_pm); @@ -219,7 +219,7 @@ static void ch7xxx_mode_set(I2CDevPtr d, DisplayModePtr mode, DisplayModePtr adjusted_mode) { struct ch7xxx_priv *dev_priv = d->DriverPrivate.ptr; - CARD8 tvco, tpcp, tpd, tlpf, idf; + uint8_t tvco, tpcp, tpd, tlpf, idf; if (mode->Clock <= 65000) { tvco = 0x23; |