Message ID | 20220707165902.3184-3-jaschultzMS@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add spi-hid, transport for HID over SPI bus | expand |
diff --git a/include/linux/hid.h b/include/linux/hid.h index 4363a63b9775..7923fe1b51bb 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h @@ -715,6 +715,8 @@ struct hid_descriptor { .bus = BUS_BLUETOOTH, .vendor = (ven), .product = (prod) #define HID_I2C_DEVICE(ven, prod) \ .bus = BUS_I2C, .vendor = (ven), .product = (prod) +#define HID_SPI_DEVICE(ven, prod) \ + .bus = BUS_SPI, .vendor = (ven), .product = (prod) #define HID_REPORT_ID(rep) \ .report_type = (rep)