]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/input/mouse/bcm5974.c
Input: mouse - use local variables consistently
[linux.git] / drivers / input / mouse / bcm5974.c
index 30e3442518f85cfe06732e0f331962458396008c..d0122134f320e82ee6c3db6afc3215de31239769 100644 (file)
@@ -665,7 +665,7 @@ static int bcm5974_wellspring_mode(struct bcm5974 *dev, bool on)
        char *data;
 
        /* Type 3 does not require a mode switch */
-       if (dev->cfg.tp_type == TYPE3)
+       if (c->tp_type == TYPE3)
                return 0;
 
        data = kmalloc(c->um_size, GFP_KERNEL);