From: Corentin Chary Date: Thu, 25 Jun 2009 11:25:36 +0000 (+0200) Subject: eeepc-laptop: Register as a pci-hotplug device X-Git-Tag: v2.6.31-rc2~82^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b121bc262fa03c94e653b2d44356c2f86c1bcdc;p=pandora-kernel.git eeepc-laptop: Register as a pci-hotplug device The eee contains a logically (but not physically) hotpluggable PCIe slot. Currently this is handled by adding or removing the PCI device in response to rfkill events, but if a user has forced pciehp to bind to it (with the force=1 argument) then both drivers will try to handle the event and hilarity (in the form of oopses) will ensue. This can be avoided by having eee-laptop register the slot as a hotplug slot. Only one of pciehp and eee-laptop will successfully register this, avoiding the problem. Signed-off-by: Matthew Garrett Signed-off-by: Corentin Chary Tested-by: Darren Salt Signed-off-by: Randy Dunlap Signed-off-by: Len Brown --- Reading git-diff-tree failed