]> Git Repo - linux.git/blob - drivers/hid/i2c-hid/i2c-hid.h
arm64: Use a variable to store non-global mappings decision
[linux.git] / drivers / hid / i2c-hid / i2c-hid.h
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
This page took 0.034235 seconds and 4 git commands to generate.