]> bbs.cooldavid.org Git - net-next-2.6.git/commit
x86, olpc: Register XO-1 platform devices
authorDaniel Drake <dsd@laptop.org>
Wed, 13 Oct 2010 18:10:42 +0000 (19:10 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 13 Oct 2010 18:51:25 +0000 (11:51 -0700)
commit447b1d43ded08c11f4f3d344b4e07e6dcddbef95
tree0525f9e4a83edede8e5f88dcb9f5b05c61cfa3d9
parentbf1ebf007911d70a89de9a4a1b36d403e8eb064b
x86, olpc: Register XO-1 platform devices

The upcoming XO-1 rfkill driver (for drivers/platform/x86) will register
itself with the name "xo1-rfkill", and the already-merged XO-1 poweroff
code uses name "olpc-xo1"

Add the necessary mechanics so that these devices are properly
initialized on XO-1 laptops.

Signed-off-by: Daniel Drake <dsd@laptop.org>
LKML-Reference: <20101013181042.90C8F9D401B@zog.reactivated.net>
Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/olpc.c