History

constify a bunch of struct file_operations instances

Al Viro committed 13 years ago

Commit 75ef9de1 parent c10c06213 files · +17 −17Browse files

Showing the changes to drivers/media/rc/lirc_dev.c (1 of 13 files). Show all

Unified · Split

drivers/media/rc/lirc_dev.c+1−1
@@ -152,7 +152,7 @@ static int lirc_thread(void *irctl) · 151 unmodified lines
152}152}
153 153
154 154
155static struct file_operations lirc_dev_fops = {155static const struct file_operations lirc_dev_fops = {
156 .owner = THIS_MODULE,156 .owner = THIS_MODULE,
157 .read = lirc_dev_fop_read,157 .read = lirc_dev_fop_read,
158 .write = lirc_dev_fop_write,158 .write = lirc_dev_fop_write,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t