staging: comedi: s626: move struct buffer_dma
authorIan Abbott <abbotti@mev.co.uk>
Tue, 8 Oct 2013 18:06:38 +0000 (19:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Oct 2013 22:34:21 +0000 (15:34 -0700)
Move the declaration of `struct buffer_dma` from "s626.h" to "s626.c" as
it seems more at home there.  After this move, "s626.h" just contains
macros related to hardware registers.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/s626.c
drivers/staging/comedi/drivers/s626.h

index 529ba3194adf91ba717fb1a24dac3a3345e1a334..34c4eb0a44f29a711df4dfb1dcd1a6e41f3867b0 100644 (file)
 #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 */
index 2d332bf0f1e3854d0852b41071a3eacbc253db54..605926ed861baa34acb6f7a7fcf2d37c3282f775 100644 (file)
 #define STDMSK_CLKMULT         (3 << STDBIT_CLKMULT)
 #define STDMSK_CLKENAB         (1 << STDBIT_CLKENAB)
 
-struct buffer_dma {
-       dma_addr_t physical_base;
-       void *logical_base;
-};
-
 #endif