X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Foprofile.h;h=0d514b252454478a71e4706bc3b693e6b3d7941a;hb=47005f255ed126a4b48a1a2f63164fb1d83bcb0a;hp=b5b3197dfd4fef62d14cfd1d7e5827f64eaccb50;hpb=273577165cd206d2d6689ee4b18aa13de1ec4bde;p=linux-2.6 diff --git a/include/linux/oprofile.h b/include/linux/oprofile.h index b5b3197dfd..0d514b2524 100644 --- a/include/linux/oprofile.h +++ b/include/linux/oprofile.h @@ -84,10 +84,10 @@ void oprofile_add_trace(unsigned long eip); * the specified file operations. */ int oprofilefs_create_file(struct super_block * sb, struct dentry * root, - char const * name, struct file_operations * fops); + char const * name, const struct file_operations * fops); int oprofilefs_create_file_perm(struct super_block * sb, struct dentry * root, - char const * name, struct file_operations * fops, int perm); + char const * name, const struct file_operations * fops, int perm); /** Create a file for read/write access to an unsigned long. */ int oprofilefs_create_ulong(struct super_block * sb, struct dentry * root,