Linux-6.18.2/drivers/platform/x86/lenovo/wmi-helpers.h
2025-12-23 20:06:59 +08:00

21 lines
450 B
C

/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Copyright (C) 2025 Derek J. Clark <derekjohn.clark@gmail.com> */
#ifndef _LENOVO_WMI_HELPERS_H_
#define _LENOVO_WMI_HELPERS_H_
#include <linux/types.h>
struct wmi_device;
struct wmi_method_args_32 {
u32 arg0;
u32 arg1;
};
int lwmi_dev_evaluate_int(struct wmi_device *wdev, u8 instance, u32 method_id,
unsigned char *buf, size_t size, u32 *retval);
#endif /* !_LENOVO_WMI_HELPERS_H_ */