feat(reimaden): add platform support kernel module

This commit is contained in:
514fpv 2024-02-14 03:23:48 +08:00
parent b3d50a3180
commit 6c52d98c54
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
26 changed files with 2071 additions and 0 deletions

View file

@ -0,0 +1,26 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef AC71_HWMON_H
#define AC71_HWMON_H
#if IS_ENABLED(CONFIG_HWMON)
#include <linux/init.h>
int __init ac71_hwmon_setup(void);
void ac71_hwmon_cleanup(void);
#else
static inline int ac71_hwmon_setup(void)
{
return 0;
}
static inline void ac71_hwmon_cleanup(void)
{
}
#endif
#endif /* AC71_HWMON_H */