diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/common/rtctime.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91rm9200/clock.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/common/rtctime.c b/arch/arm/common/rtctime.c index 4e5445cfb0ea..bf1075e1f571 100644 --- a/arch/arm/common/rtctime.c +++ b/arch/arm/common/rtctime.c | |||
@@ -329,7 +329,7 @@ static int rtc_fasync(int fd, struct file *file, int on) | |||
329 | return fasync_helper(fd, file, on, &rtc_async_queue); | 329 | return fasync_helper(fd, file, on, &rtc_async_queue); |
330 | } | 330 | } |
331 | 331 | ||
332 | static struct file_operations rtc_fops = { | 332 | static const struct file_operations rtc_fops = { |
333 | .owner = THIS_MODULE, | 333 | .owner = THIS_MODULE, |
334 | .llseek = no_llseek, | 334 | .llseek = no_llseek, |
335 | .read = rtc_read, | 335 | .read = rtc_read, |
diff --git a/arch/arm/mach-at91rm9200/clock.c b/arch/arm/mach-at91rm9200/clock.c index 4dee21fefe5a..36a8e4d1cc6d 100644 --- a/arch/arm/mach-at91rm9200/clock.c +++ b/arch/arm/mach-at91rm9200/clock.c | |||
@@ -407,7 +407,7 @@ static int at91_clk_open(struct inode *inode, struct file *file) | |||
407 | return single_open(file, at91_clk_show, NULL); | 407 | return single_open(file, at91_clk_show, NULL); |
408 | } | 408 | } |
409 | 409 | ||
410 | static struct file_operations at91_clk_operations = { | 410 | static const struct file_operations at91_clk_operations = { |
411 | .open = at91_clk_open, | 411 | .open = at91_clk_open, |
412 | .read = seq_read, | 412 | .read = seq_read, |
413 | .llseek = seq_lseek, | 413 | .llseek = seq_lseek, |