# \[rtc-linux\] Re: \[PATCH\] rtc: armada38x: add \_\_ro\_after\_init to armada38x\_rtc\_ops

- From: Julia Lawall \<hidden\>
- Date: 2017-01-04 11:45:06 
- List: linux-rtc
- Page: https://ratatoskr.run/linux-rtc/2017/01/4904054
- Thread: https://ratatoskr.run/linux-arm-kernel/2016/12/4900611/t.md

```text
> The question was whether the point to the rtc_class_ops could be made
> __ro_after_init. And Russell is right, it is pointed to by the ops
> pointer in a struct rtc_device and that struct is dynamically allocated
> in rtc_device_register().

OK, I think it's a terminology issue.  You mean the structure that
contains the pointer, and not the pointer itself, which is already const.

thanks,
julia

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
```
