summaryrefslogtreecommitdiff
path: root/drivers/oprofile/event_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/oprofile/event_buffer.h')
-rw-r--r--drivers/oprofile/event_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/oprofile/event_buffer.h b/drivers/oprofile/event_buffer.h
index 92416276e577..9b6a4ebd03e3 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.