You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
539 B
21 lines
539 B
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
#ifndef I2C_HID_H
|
|
#define I2C_HID_H
|
|
|
|
|
|
#ifdef CONFIG_DMI
|
|
struct i2c_hid_desc *i2c_hid_get_dmi_i2c_hid_desc_override(uint8_t *i2c_name);
|
|
char *i2c_hid_get_dmi_hid_report_desc_override(uint8_t *i2c_name,
|
|
unsigned int *size);
|
|
#else
|
|
static inline struct i2c_hid_desc
|
|
*i2c_hid_get_dmi_i2c_hid_desc_override(uint8_t *i2c_name)
|
|
{ return NULL; }
|
|
static inline char *i2c_hid_get_dmi_hid_report_desc_override(uint8_t *i2c_name,
|
|
unsigned int *size)
|
|
{ return NULL; }
|
|
#endif
|
|
|
|
#endif
|