lkml.org 
[lkml]   [2006]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 11/18] 2.6.17.9 perfmon2 patch for review: file related operations support
From
Date
On Wed, 2006-08-23 at 01:06 -0700, Stephane Eranian wrote:
> +struct file_operations pfm_file_ops = {
> + .llseek = no_llseek,
> + .read = pfm_read,
> + .write = pfm_write,
> + .poll = pfm_poll,
> + .ioctl = pfm_ioctl,
> + .open = pfm_no_open, /* special open to disallow open via /proc */
> + .fasync = pfm_fasync,
> + .release = pfm_close,
> + .flush= pfm_flush,
> + .mmap = pfm_mmap
> +};

these should be const


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-08-23 10:27    [W:0.048 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site