Re: make idedisk_suspend()/idedisk_resume() conditional on CONFIG_SOFTWARE_SUSPEND

From: Zwane Mwaikambo (zwane@linuxpower.ca)
Date: Fri Oct 11 2002 - 10:21:01 EST


On Fri, 11 Oct 2002, William Lee Irwin III wrote:

> ide-disk.c gets the following warning:
>
> drivers/ide/ide-disk.c:1614: warning: `idedisk_suspend' defined but not used
> drivers/ide/ide-disk.c:1651: warning: `idedisk_resume' defined but not used

Hi Pavel,
        shouldn't this kinda thing be handled by the driver model layer?
Ditto for the device walk and suspend in suspend.c. Also what do you
think of adding hooks to driver model tree so that we can add additional
handlers for things like this with the driver model doing the final
suspend as specified in the driver.

        Zwane

-- 
function.linuxpower.ca

- 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/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:41 EST