]> Pileus Git - ~andy/linux/commit
eeepc-laptop: don't touch the pci slot if it was claimed by a different driver
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Fri, 28 Aug 2009 12:56:32 +0000 (12:56 +0000)
committerLen Brown <len.brown@intel.com>
Fri, 28 Aug 2009 19:21:10 +0000 (15:21 -0400)
commit6d41839e762f8b8b03dbb97fd0d41b244d0bc902
tree168fa39bf92766bffeaaa0247bc64e522e18c08d
parent326ba5010a5429a5a528b268b36a5900d4ab0eba
eeepc-laptop: don't touch the pci slot if it was claimed by a different driver

The whole point of registering as a PCI hotplug driver was to prevent
conflict with pciehp.  At the moment it happens to work because
eeepc-laptop is loaded first, but it doesn't work the other way round.
If pciehp is loaded first then we fail to claim the slot - we need to
respect this and not handle hotplug events.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/eeepc-laptop.c