Re: rtc_ops structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 11, 2011 at 11:08 AM, Vikram Narayanan <vikram186@xxxxxxxxx> wrote:
> Hi,
>
> Is the structure rtc_ops still used in rtc drivers in the new kernels?
> If not, what is the equivalent of it?
>

[jimc@groucho linux-2.6.git]$ grep -r rtc_ops drivers/ |wc
    159     842   11646

heres one of them:

drivers/rtc/rtc-cmos.c:static const struct rtc_class_ops cmos_rtc_ops = {
drivers/rtc/rtc-cmos.c:				&cmos_rtc_ops, THIS_MODULE);

So Id say "yes"

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux