X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Foprofile%2Fevent_buffer.h;h=9b6a4ebd03e39c65a3ba0cdcf6c336f023109a37;hb=8800c0ebf5e8363dab66647512dcef5b83203dec;hp=92416276e57702d7321d972d9fb571aa528a19a8;hpb=f6e6e883730aff2718610d3eba7608fcf73328ed;p=linux-2.6 diff --git a/drivers/oprofile/event_buffer.h b/drivers/oprofile/event_buffer.h index 92416276e5..9b6a4ebd03 100644 --- a/drivers/oprofile/event_buffer.h +++ b/drivers/oprofile/event_buffer.h @@ -41,7 +41,7 @@ void wake_up_buffer_waiter(void); /* add data to the event buffer */ void add_event_entry(unsigned long data); -extern struct file_operations event_buffer_fops; +extern const struct file_operations event_buffer_fops; /* mutex between sync_cpu_buffers() and the * file reading code.