diff --git a/drivers/staging/comedi/drivers/s626.c b/drivers/staging/comedi/drivers/s626.c index 529ba3194adf..34c4eb0a44f2 100644 --- a/drivers/staging/comedi/drivers/s626.c +++ b/drivers/staging/comedi/drivers/s626.c @@ -71,6 +71,11 @@ #include "comedi_fc.h" #include "s626.h" +struct buffer_dma { + dma_addr_t physical_base; + void *logical_base; +}; + struct s626_private { void __iomem *mmio; uint8_t ai_cmd_running; /* ai_cmd is running */ diff --git a/drivers/staging/comedi/drivers/s626.h b/drivers/staging/comedi/drivers/s626.h index 2d332bf0f1e3..605926ed861b 100644 --- a/drivers/staging/comedi/drivers/s626.h +++ b/drivers/staging/comedi/drivers/s626.h @@ -614,9 +614,4 @@ #define STDMSK_CLKMULT (3 << STDBIT_CLKMULT) #define STDMSK_CLKENAB (1 << STDBIT_CLKENAB) -struct buffer_dma { - dma_addr_t physical_base; - void *logical_base; -}; - #endif