diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h index 9a520f42aaac..0ce9d9972955 100644 --- a/include/linux/usb/gadget.h +++ b/include/linux/usb/gadget.h @@ -133,6 +133,9 @@ struct usb_request { * @db_reg_phs_addr_lsb: IPA channel doorbell register's physical address LSB * @mapped_db_reg_phs_addr_lsb: doorbell LSB IOVA address mapped with IOMMU * @db_reg_phs_addr_msb: IPA channel doorbell register's physical address MSB + * @sgt_trb_xfer_ring: USB TRB ring related sgtable entries + * @sgt_data_buff: Data buffer related sgtable entries + * @dev: pointer to the DMA-capable dwc device */ struct usb_gsi_request { void *buf_base_addr; @@ -144,6 +147,7 @@ struct usb_gsi_request { u32 db_reg_phs_addr_msb; struct sg_table sgt_trb_xfer_ring; struct sg_table sgt_data_buff; + struct device *dev; }; enum gsi_ep_op {