kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: jim.cromie@gmail.com (Jim Cromie)
To: kernelnewbies@lists.kernelnewbies.org
Subject: rtc_ops structure
Date: Fri, 13 May 2011 11:46:16 -0600	[thread overview]
Message-ID: <BANLkTikz_NUBNrcMDKfB52A-AqJ+35Aavg@mail.gmail.com> (raw)
In-Reply-To: <BANLkTimgtEnuCfVDeopBgtwT2osOO0BoPA@mail.gmail.com>

On Wed, May 11, 2011 at 11:08 AM, Vikram Narayanan <vikram186@gmail.com> 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"

  reply	other threads:[~2011-05-13 17:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-11 17:08 rtc_ops structure Vikram Narayanan
2011-05-13 17:46 ` Jim Cromie [this message]
2011-05-14 23:30   ` Jonathan Neuschäfer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTikz_NUBNrcMDKfB52A-AqJ+35Aavg@mail.gmail.com \
    --to=jim.cromie@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).