summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-06-27 20:29:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-06-27 20:29:49 +0000
commit5046f1f7e79cb5ed4b71d01dfe3a049622849a58 (patch)
tree64a52605589e2879d1e2d0cccffaee1433686bee
parent0d97af4f60705acf06a18aa4987ad6e24a55986a (diff)
match pca9555 as a name too
-rw-r--r--sys/dev/i2c/pca9554.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/i2c/pca9554.c b/sys/dev/i2c/pca9554.c
index 5cc443b2536..52f00312cbe 100644
--- a/sys/dev/i2c/pca9554.c
+++ b/sys/dev/i2c/pca9554.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pca9554.c,v 1.7 2006/01/19 17:08:39 grange Exp $ */
+/* $OpenBSD: pca9554.c,v 1.8 2006/06/27 20:29:48 deraadt Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt
@@ -72,6 +72,7 @@ pcagpio_match(struct device *parent, void *match, void *aux)
if (strcmp(ia->ia_name, "PCA9554") == 0 ||
strcmp(ia->ia_name, "PCA9554M") == 0 ||
+ strcmp(ia->ia_name, "pca9555") == 0 ||
strcmp(ia->ia_name, "pca9556") == 0 ||
strcmp(ia->ia_name, "pca9557") == 0)
return (1);