X-Git-Url: https://git.stricted.de/?a=blobdiff_plain;f=fs%2Fhppfs%2Fhppfs_kern.c;h=2ba20cdb5baa7316e8f14738b895f3332c1b9a1e;hb=4b6f5d20b04dcbc3d888555522b90ba6d36c4106;hp=a44dc58973991b6ff33274ee2f6eaf2a6ca28ca3;hpb=99ac48f54a91d02140c497edc31dc57d4bc5c85d;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git diff --git a/fs/hppfs/hppfs_kern.c b/fs/hppfs/hppfs_kern.c index a44dc5897399..2ba20cdb5baa 100644 --- a/fs/hppfs/hppfs_kern.c +++ b/fs/hppfs/hppfs_kern.c @@ -558,7 +558,7 @@ static loff_t hppfs_llseek(struct file *file, loff_t off, int where) return(default_llseek(file, off, where)); } -static struct file_operations hppfs_file_fops = { +static const struct file_operations hppfs_file_fops = { .owner = NULL, .llseek = hppfs_llseek, .read = hppfs_read, @@ -609,7 +609,7 @@ static int hppfs_fsync(struct file *file, struct dentry *dentry, int datasync) return(0); } -static struct file_operations hppfs_dir_fops = { +static const struct file_operations hppfs_dir_fops = { .owner = NULL, .readdir = hppfs_readdir, .open = hppfs_dir_open,