]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: s626: rename ai_continous
authorIan Abbott <abbotti@mev.co.uk>
Tue, 8 Oct 2013 18:06:21 +0000 (19:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Oct 2013 22:34:18 +0000 (15:34 -0700)
Rename the `ai_continous` member of `struct s626_private` to
`ai_continuous`.

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

index acd3b94a5339d7984ec28fc14c3bae935a6796d5..58f2208bf56a3d78708099130aa933c073c3d406 100644 (file)
@@ -74,7 +74,7 @@
 struct s626_private {
        void __iomem *mmio;
        uint8_t ai_cmd_running;         /* ai_cmd is running */
-       uint8_t ai_continous;           /* continuous acquisition */
+       uint8_t ai_continuous;          /* continuous acquisition */
        int ai_sample_count;            /* number of samples to acquire */
        unsigned int ai_sample_timer;   /* time between samples in
                                         * units of the timer */
@@ -885,7 +885,7 @@ static bool handle_eos_interrupt(struct comedi_device *dev)
        /* end of scan occurs */
        async->events |= COMEDI_CB_EOS;
 
-       if (!devpriv->ai_continous)
+       if (!devpriv->ai_continuous)
                devpriv->ai_sample_count--;
        if (devpriv->ai_sample_count <= 0) {
                devpriv->ai_cmd_running = 0;
@@ -1469,11 +1469,11 @@ static int s626_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
        case TRIG_COUNT:
                /* data arrives as one packet */
                devpriv->ai_sample_count = cmd->stop_arg;
-               devpriv->ai_continous = 0;
+               devpriv->ai_continuous = 0;
                break;
        case TRIG_NONE:
                /* continuous acquisition */
-               devpriv->ai_continous = 1;
+               devpriv->ai_continuous = 1;
                devpriv->ai_sample_count = 1;
                break;
        }