hitemp.c (ce42f002) hitemp.c (9fdf0c62)
1/* $OpenBSD: hitemp.c,v 1.1 2018/08/27 21:09:47 kettenis Exp $ */
1/* $OpenBSD: hitemp.c,v 1.2 2021/10/24 17:52:26 mpi Exp $ */
2/*
3 * Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
4 *
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

--- 39 unchanged lines hidden (view full) ---

49
50 struct ksensor sc_sensors[HITEMP_NSENSORS];
51 struct ksensordev sc_sensordev;
52};
53
54int hitemp_match(struct device *, void *, void *);
55void hitemp_attach(struct device *, struct device *, void *);
56
2/*
3 * Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
4 *
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

--- 39 unchanged lines hidden (view full) ---

49
50 struct ksensor sc_sensors[HITEMP_NSENSORS];
51 struct ksensordev sc_sensordev;
52};
53
54int hitemp_match(struct device *, void *, void *);
55void hitemp_attach(struct device *, struct device *, void *);
56
57struct cfattach hitemp_ca = {
57const struct cfattach hitemp_ca = {
58 sizeof (struct hitemp_softc), hitemp_match, hitemp_attach
59};
60
61struct cfdriver hitemp_cd = {
62 NULL, "hitemp", DV_DULL
63};
64
65struct hitemp_compat {

--- 108 unchanged lines hidden ---
58 sizeof (struct hitemp_softc), hitemp_match, hitemp_attach
59};
60
61struct cfdriver hitemp_cd = {
62 NULL, "hitemp", DV_DULL
63};
64
65struct hitemp_compat {

--- 108 unchanged lines hidden ---