// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright (C) 2017 Netronome Systems, Inc. */ #include <linux/kernel.h> #include <linux/slab.h> #include "nfp.h" #include "nfp_nsp.h" struct nsp_identify { … }; struct nfp_nsp_identify *__nfp_nsp_identify(struct nfp_nsp *nsp) { … } struct nfp_sensors { … }; int nfp_hwmon_read_sensor(struct nfp_cpp *cpp, enum nfp_nsp_sensor_id id, long *val) { … }