xref: /openbmc/linux/drivers/hid/i2c-hid/i2c-hid.h (revision d2574c33)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 
3 #ifndef I2C_HID_H
4 #define I2C_HID_H
5 
6 
7 #ifdef CONFIG_DMI
8 struct i2c_hid_desc *i2c_hid_get_dmi_i2c_hid_desc_override(uint8_t *i2c_name);
9 char *i2c_hid_get_dmi_hid_report_desc_override(uint8_t *i2c_name,
10 					       unsigned int *size);
11 #else
12 static inline struct i2c_hid_desc
13 		   *i2c_hid_get_dmi_i2c_hid_desc_override(uint8_t *i2c_name)
14 { return NULL; }
15 static 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
21