From: Daniel Drake Date: Sun, 10 Oct 2010 09:40:32 +0000 (+0100) Subject: x86, olpc: Add XO-1 poweroff support X-Git-Tag: v2.6.37-rc1~200^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf1ebf007911d70a89de9a4a1b36d403e8eb064b;p=pandora-kernel.git x86, olpc: Add XO-1 poweroff support Add a pm_power_off handler for the OLPC XO-1 laptop. The driver can be built modular and follows the behaviour of the APM driver, setting pm_power_off to NULL on unload. However, the ability to unload the module will probably be removed (with a simple __module_get(THIS_MODULE)) if/when XO-1 suspend/resume support is added to this file at a later date. Signed-off-by: Daniel Drake LKML-Reference: <20101010094032.9AE669D401B@zog.reactivated.net> Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed