i2c-hid.h 539 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. #ifndef I2C_HID_H
  3. #define I2C_HID_H
  4. #ifdef CONFIG_DMI
  5. struct i2c_hid_desc *i2c_hid_get_dmi_i2c_hid_desc_override(uint8_t *i2c_name);
  6. char *i2c_hid_get_dmi_hid_report_desc_override(uint8_t *i2c_name,
  7. unsigned int *size);
  8. #else
  9. static inline struct i2c_hid_desc
  10. *i2c_hid_get_dmi_i2c_hid_desc_override(uint8_t *i2c_name)
  11. { return NULL; }
  12. static inline char *i2c_hid_get_dmi_hid_report_desc_override(uint8_t *i2c_name,
  13. unsigned int *size)
  14. { return NULL; }
  15. #endif
  16. #endif