Hi all,
I just wanted to know what is the use of shutdown,suspend, resume in
the driver ..my understanding is that are they called in the time of
system shutdown and suspend / resume . for example i have taken the
following structure form include/linux/platform_device.h file as below.
struct platform_driver {
int (*probe)(struct platform_device *);
int (*remove)(struct platform_device *);
void (*shutdown)(struct platform_device *);
int (*suspend)(struct platform_device *, pm_message_t state);
int (*suspend_late)(struct platform_device *, pm_message_t state);
int (*resume_early)(struct platform_device *);
int (*resume)(struct platform_device *);
struct device_driver driver;
};
Regards,
Mohamed Thalib .H
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ