diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-18 20:51:14 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-18 20:51:14 +0000 |
commit | 8130188ef7f4e6c63aa6deeadc2f1e642ea67243 (patch) | |
tree | b3a6d3fd91642aa7f6ad5f303f879b8f0cf454ec | |
parent | cfb9b17634ead5f62fac6c37b2d21dd039e7d04a (diff) |
oops
-rw-r--r-- | sys/dev/i2c/pca9554.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/i2c/pca9554.c b/sys/dev/i2c/pca9554.c index 488a894be14..fbb7b9e5b6d 100644 --- a/sys/dev/i2c/pca9554.c +++ b/sys/dev/i2c/pca9554.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pca9554.c,v 1.3 2005/11/18 20:47:45 deraadt Exp $ */ +/* $OpenBSD: pca9554.c,v 1.4 2005/11/18 20:51:13 deraadt Exp $ */ /* * Copyright (c) 2005 Theo de Raadt @@ -71,10 +71,10 @@ pcagpio_match(struct device *parent, void *match, void *aux) struct i2c_attach_args *ia = aux; if (ia->ia_compat) { - if (strcasecmp(ia->ia_compat, "PCA9554") == 0 || - strcasecmp(ia->ia_compat, "PCA9554M") == 0 || - strcasecmp(ia->ia_compat, "pca9556") == 0 || - strcasecmp(ia->ia_compat, "pca9557") == 0) + if (strcmp(ia->ia_compat, "PCA9554") == 0 || + strcmp(ia->ia_compat, "PCA9554M") == 0 || + strcmp(ia->ia_compat, "pca9556") == 0 || + strcmp(ia->ia_compat, "pca9557") == 0) return (1); return (0); } @@ -141,7 +141,7 @@ pcagpio_attach(struct device *parent, struct device *self, void *aux) SENSOR_ADD(&sc->sc_sensor[i]); #endif - printf(":"): + printf(":"); if (8 - outputs) printf(" %d inputs", 8 - outputs); if (outputs) |