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

Zwane Mwaikambo (zwane@linuxpower.ca)
Fri, 11 Oct 2002 11:21:01 -0400 (EDT)


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/