public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Aras Vaichas <arasv@magtech.com.au>
To: linux-kernel@vger.kernel.org
Subject: How to add suspend/resume functions to misc drivers?
Date: Wed, 01 Oct 2008 16:59:30 +1000	[thread overview]
Message-ID: <48E31FD2.3060805@magtech.com.au> (raw)

Hi,

I need to add suspend/resume functionality to a misc based driver.

Searching through the kernel for drivers that contain the keywords
"misc_register" and "suspend" I found that drivers/macintosh/via-pmu.c
seems to be what i was looking for.

Am I correct? Would this be the best example of adding suspend/resume
functionality to a misc driver?

background: my device driver is for an ARM at91rm9200 interfaced via the
static memory bus to an FPGA. Only one device ever exists in the system.
The driver is never removed during normal usage.

Aras

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

                 reply	other threads:[~2008-10-01  6:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=48E31FD2.3060805@magtech.com.au \
    --to=arasv@magtech.com.au \
    --cc=linux-kernel@vger.kernel.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