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
__________________________________________________ ____________________
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/