diff mbox

lirc: Make struct file_operations pointer const

Message ID alpine.DEB.2.00.1009302153210.2434@ayla.of.borg (mailing list archive)
State Accepted
Headers show

Commit Message

Geert Uytterhoeven Sept. 30, 2010, 7:55 p.m. UTC
None
diff mbox

Patch

diff --git a/include/media/lirc_dev.h b/include/media/lirc_dev.h
index b1f6066..71a896e 100644
--- a/include/media/lirc_dev.h
+++ b/include/media/lirc_dev.h
@@ -139,7 +139,7 @@  struct lirc_driver {
 	struct lirc_buffer *rbuf;
 	int (*set_use_inc) (void *data);
 	void (*set_use_dec) (void *data);
-	struct file_operations *fops;
+	const struct file_operations *fops;
 	struct device *dev;
 	struct module *owner;
 };