blob: a8c19aef5824c5fd0f592cd84a596fc435c4bff2 [file] [log] [blame]
Julian Sax9ee3e062018-09-19 11:46:23 +02001/* SPDX-License-Identifier: GPL-2.0+ */
2
3#ifndef I2C_HID_H
4#define I2C_HID_H
5
6
7#ifdef CONFIG_DMI
8struct i2c_hid_desc *i2c_hid_get_dmi_i2c_hid_desc_override(uint8_t *i2c_name);
9char *i2c_hid_get_dmi_hid_report_desc_override(uint8_t *i2c_name,
10 unsigned int *size);
11#else
12static inline struct i2c_hid_desc
13 *i2c_hid_get_dmi_i2c_hid_desc_override(uint8_t *i2c_name)
14{ return NULL; }
15static inline char *i2c_hid_get_dmi_hid_report_desc_override(uint8_t *i2c_name,
16 unsigned int *size)
17{ return NULL; }
18#endif
19
20#endif