[PATCH] make more file_operation structs static
[deliverable/linux.git] / drivers / char / agp / frontend.c
index 97eeb2345b18ad897c429196530ce7d49dec3980..d9c5a9142ad1daa4a5e5de83e11175e7e0863e28 100644 (file)
@@ -781,7 +781,7 @@ static int agpioc_acquire_wrap(struct agp_file_private *priv)
        if (agp_fe.current_controller != NULL)
                return -EBUSY;
 
-       if(!agp_bridge)
+       if (!agp_bridge)
                return -ENODEV;
 
         if (atomic_read(&agp_bridge->agp_in_use))
@@ -1059,7 +1059,7 @@ ioctl_out:
        return ret_val;
 }
 
-static struct file_operations agp_fops =
+static const struct file_operations agp_fops =
 {
        .owner          = THIS_MODULE,
        .llseek         = no_llseek,
This page took 0.046073 seconds and 5 git commands to generate.