Re: should all .resume and .suspend be conditional on CONFIG_PM?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29 June 2010 17:53, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:

> static struct pci_driver tg3_driver = {
>        .name           = DRV_MODULE_NAME,
>        .id_table       = tg3_pci_tbl,
>        .probe          = tg3_init_one,
>        .remove         = __devexit_p(tg3_remove_one),
>        .suspend        = tg3_suspend,
>        .resume         = tg3_resume
> };
> ...
>
>  so, again, does the above make any sense if CONFIG_PM is not
> selected during configuration?  or perhaps i just don't understand PM,
> suspend and resume well enough.

Just occured to me - does tg3_suspend have the suspend code
protected by the CONFIG_PM test?

Regards,
Srdjan

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux