From mboxrd@z Thu Jan 1 00:00:00 1970 From: jim.cromie@gmail.com (Jim Cromie) Date: Fri, 13 May 2011 11:46:16 -0600 Subject: rtc_ops structure In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Wed, May 11, 2011 at 11:08 AM, Vikram Narayanan 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 at 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"