search for: privcmd_file_ops

Displaying 1 result from an estimated 1 matches for "privcmd_file_ops".

2007 Mar 05
0
[PATCH 3/10] linux 2.6.18: constify instances of ''struct file_operations''
...================= --- head-2007-02-27.orig/drivers/xen/privcmd/privcmd.c 2007-03-05 10:00:18.000000000 +0100 +++ head-2007-02-27/drivers/xen/privcmd/privcmd.c 2007-02-27 16:27:37.000000000 +0100 @@ -248,7 +248,7 @@ static int privcmd_enforce_singleshot_ma } #endif -static struct file_operations privcmd_file_ops = { +static const struct file_operations privcmd_file_ops = { .ioctl = privcmd_ioctl, .mmap = privcmd_mmap, }; Index: head-2007-02-27/drivers/xen/tpmback/tpmback.c =================================================================== --- head-2007-02-27.orig/drivers/xen/tpmback/tpmback.c 2007-0...