net: DCB: Validate DCB_ATTR_DCB_BUFFER argument
[linux/fpc-iii.git] / drivers / hid / i2c-hid / i2c-hid.h
bloba8c19aef5824c5fd0f592cd84a596fc435c4bff2
1 /* SPDX-License-Identifier: GPL-2.0+ */
3 #ifndef I2C_HID_H
4 #define I2C_HID_H
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
20 #endif