Merge tag 'tty-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
[pandora-kernel.git] / drivers / tty / tty_io.c
index 8f44d62..60e48a1 100644 (file)
@@ -2902,9 +2902,9 @@ void do_SAK(struct tty_struct *tty)
 
 EXPORT_SYMBOL(do_SAK);
 
-static int dev_match_devt(struct device *dev, void *data)
+static int dev_match_devt(struct device *dev, const void *data)
 {
-       dev_t *devt = data;
+       const dev_t *devt = data;
        return dev->devt == *devt;
 }