diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-05-20 20:33:55 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-05-20 20:33:55 +0000 |
commit | 574da5d85a3d32498ce10860f4dec19f7c8ecaff (patch) | |
tree | 63155010d0f5273dc85f734644b3e92165fda02e /sys/dev | |
parent | 4803552466754b0c1d796b1dc7632b99e8f87376 (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.c | 4 |
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); |