xref: /dflybsd-src/sys/dev/drm/include/linux/hwmon.h (revision 5396612462ce314335b115530de65722e2e0e043)
1*53966124SFrançois Tigeot /*
2*53966124SFrançois Tigeot  * Copyright (c) 2018 François Tigeot <ftigeot@wolfpond.org>
3*53966124SFrançois Tigeot  * All rights reserved.
4*53966124SFrançois Tigeot  *
5*53966124SFrançois Tigeot  * Redistribution and use in source and binary forms, with or without
6*53966124SFrançois Tigeot  * modification, are permitted provided that the following conditions
7*53966124SFrançois Tigeot  * are met:
8*53966124SFrançois Tigeot  * 1. Redistributions of source code must retain the above copyright
9*53966124SFrançois Tigeot  *    notice unmodified, this list of conditions, and the following
10*53966124SFrançois Tigeot  *    disclaimer.
11*53966124SFrançois Tigeot  * 2. Redistributions in binary form must reproduce the above copyright
12*53966124SFrançois Tigeot  *    notice, this list of conditions and the following disclaimer in the
13*53966124SFrançois Tigeot  *    documentation and/or other materials provided with the distribution.
14*53966124SFrançois Tigeot  *
15*53966124SFrançois Tigeot  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16*53966124SFrançois Tigeot  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17*53966124SFrançois Tigeot  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18*53966124SFrançois Tigeot  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19*53966124SFrançois Tigeot  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20*53966124SFrançois Tigeot  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21*53966124SFrançois Tigeot  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22*53966124SFrançois Tigeot  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23*53966124SFrançois Tigeot  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24*53966124SFrançois Tigeot  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25*53966124SFrançois Tigeot  */
26*53966124SFrançois Tigeot 
27*53966124SFrançois Tigeot #ifndef _LINUX_HWMON_H_
28*53966124SFrançois Tigeot #define _LINUX_HWMON_H_
29*53966124SFrançois Tigeot 
30*53966124SFrançois Tigeot struct device;
31*53966124SFrançois Tigeot 
32*53966124SFrançois Tigeot struct device *hwmon_device_register(struct device *dev);
33*53966124SFrançois Tigeot void hwmon_device_unregister(struct device *dev);
34*53966124SFrançois Tigeot 
35*53966124SFrançois Tigeot #endif	/* _LINUX_HWMON_H_ */
36