Merge drm/drm-fixes into drm-misc-fixes
[linux-2.6-microblaze.git] / drivers / tty / tty_ldisc.c
index fde8d40..4c49f53 100644 (file)
@@ -855,8 +855,6 @@ void tty_ldisc_deinit(struct tty_struct *tty)
        tty->ldisc = NULL;
 }
 
-static int zero;
-static int one = 1;
 static struct ctl_table tty_table[] = {
        {
                .procname       = "ldisc_autoload",
@@ -864,8 +862,8 @@ static struct ctl_table tty_table[] = {
                .maxlen         = sizeof(tty_ldisc_autoload),
                .mode           = 0644,
                .proc_handler   = proc_dointvec,
-               .extra1         = &zero,
-               .extra2         = &one,
+               .extra1         = SYSCTL_ZERO,
+               .extra2         = SYSCTL_ONE,
        },
        { }
 };