summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2016-05-20 20:33:55 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2016-05-20 20:33:55 +0000
commit574da5d85a3d32498ce10860f4dec19f7c8ecaff (patch)
tree63155010d0f5273dc85f734644b3e92165fda02e /sys/dev
parent4803552466754b0c1d796b1dc7632b99e8f87376 (diff)
Change the identification string to "nxp,pcf8523" as this is what is stored
in the FDT.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/i2c/pcf8523.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2c/pcf8523.c b/sys/dev/i2c/pcf8523.c
index 6be5215f422..31819e53b3e 100644
--- a/sys/dev/i2c/pcf8523.c
+++ b/sys/dev/i2c/pcf8523.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcf8523.c,v 1.2 2016/05/16 22:55:23 kettenis Exp $ */
+/* $OpenBSD: pcf8523.c,v 1.3 2016/05/20 20:33:53 kettenis Exp $ */
/*
* Copyright (c) 2005 Kimihiro Nonaka
@@ -117,7 +117,7 @@ pcfrtc_match(struct device *parent, void *v, void *arg)
{
struct i2c_attach_args *ia = arg;
- if (strcmp(ia->ia_name, "pcf8523") == 0 &&
+ if (strcmp(ia->ia_name, "nxp,pcf8523") == 0 &&
ia->ia_addr == PCF8523_ADDR)
return (1);