diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2021-10-24 17:52:29 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2021-10-24 17:52:29 +0000 |
commit | a659756f5b7f65c299334dd83e8c990521498c1c (patch) | |
tree | d5e3557e6d709f590a885118b803d0d65b252e85 /sys/dev/fdt/rkemmcphy.c | |
parent | e4e05f78be131db9b43987c72b93a5836d7b468f (diff) |
Constify struct cfattach.
ok visa@ a long time ago, ok patrick@
Diffstat (limited to 'sys/dev/fdt/rkemmcphy.c')
-rw-r--r-- | sys/dev/fdt/rkemmcphy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fdt/rkemmcphy.c b/sys/dev/fdt/rkemmcphy.c index 229108c5af0..b62bd133fcc 100644 --- a/sys/dev/fdt/rkemmcphy.c +++ b/sys/dev/fdt/rkemmcphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rkemmcphy.c,v 1.3 2020/04/03 22:03:45 kettenis Exp $ */ +/* $OpenBSD: rkemmcphy.c,v 1.4 2021/10/24 17:52:26 mpi Exp $ */ /* * Copyright (c) 2019 Patrick Wildt <patrick@blueri.se> * @@ -75,7 +75,7 @@ struct rkemmcphy_softc { int rkemmcphy_match(struct device *, void *, void *); void rkemmcphy_attach(struct device *, struct device *, void *); -struct cfattach rkemmcphy_ca = { +const struct cfattach rkemmcphy_ca = { sizeof (struct rkemmcphy_softc), rkemmcphy_match, rkemmcphy_attach }; |