dma: sh: use an integer slave ID to improve API compatibility
[platform/kernel/linux-starfive.git] / include / linux / sh_dma.h
index a79f10a..4e83f3e 100644 (file)
@@ -27,10 +27,10 @@ struct sh_dmae_slave {
  * a certain peripheral
  */
 struct sh_dmae_slave_config {
-       unsigned int                    slave_id;
-       dma_addr_t                      addr;
-       u32                             chcr;
-       char                            mid_rid;
+       int             slave_id;
+       dma_addr_t      addr;
+       u32             chcr;
+       char            mid_rid;
 };
 
 struct sh_dmae_channel {