]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/isdn/capi/kcapi_proc.c
IB/core: Add helpers for uncached GID and P_Key searches
[linux-2.6-omap-h63xx.git] / drivers / isdn / capi / kcapi_proc.c
index 2cc8b27e4c3be918aeb05ab855ca13bd0afee574..31f4fd8b8b0a563e4d058591befc095870725466 100644 (file)
@@ -113,14 +113,14 @@ static int seq_contrstats_open(struct inode *inode, struct file *file)
        return seq_open(file, &seq_contrstats_ops);
 }
 
-static struct file_operations proc_controller_ops = {
+static const struct file_operations proc_controller_ops = {
        .open           = seq_controller_open,
        .read           = seq_read,
        .llseek         = seq_lseek,
        .release        = seq_release,
 };
 
-static struct file_operations proc_contrstats_ops = {
+static const struct file_operations proc_contrstats_ops = {
        .open           = seq_contrstats_open,
        .read           = seq_read,
        .llseek         = seq_lseek,
@@ -218,14 +218,14 @@ seq_applstats_open(struct inode *inode, struct file *file)
        return seq_open(file, &seq_applstats_ops);
 }
 
-static struct file_operations proc_applications_ops = {
+static const struct file_operations proc_applications_ops = {
        .open           = seq_applications_open,
        .read           = seq_read,
        .llseek         = seq_lseek,
        .release        = seq_release,
 };
 
-static struct file_operations proc_applstats_ops = {
+static const struct file_operations proc_applstats_ops = {
        .open           = seq_applstats_open,
        .read           = seq_read,
        .llseek         = seq_lseek,
@@ -233,7 +233,7 @@ static struct file_operations proc_applstats_ops = {
 };
 
 static void
-create_seq_entry(char *name, mode_t mode, struct file_operations *f)
+create_seq_entry(char *name, mode_t mode, const struct file_operations *f)
 {
        struct proc_dir_entry *entry;
        entry = create_proc_entry(name, mode, NULL);
@@ -302,7 +302,7 @@ seq_capi_driver_open(struct inode *inode, struct file *file)
        return err;
 }
 
-static struct file_operations proc_driver_ops = {
+static const struct file_operations proc_driver_ops = {
        .open           = seq_capi_driver_open,
        .read           = seq_read,
        .llseek         = seq_lseek,