diff options
Diffstat (limited to 'drivers/pci/hotplug/pciehprm_nonacpi.c')
-rw-r--r-- | drivers/pci/hotplug/pciehprm_nonacpi.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/pci/hotplug/pciehprm_nonacpi.c b/drivers/pci/hotplug/pciehprm_nonacpi.c index 32371cd19e34..6447642f78c5 100644 --- a/drivers/pci/hotplug/pciehprm_nonacpi.c +++ b/drivers/pci/hotplug/pciehprm_nonacpi.c | |||
@@ -27,25 +27,13 @@ | |||
27 | * | 27 | * |
28 | */ | 28 | */ |
29 | 29 | ||
30 | #include <linux/config.h> | ||
31 | #include <linux/module.h> | 30 | #include <linux/module.h> |
32 | #include <linux/kernel.h> | 31 | #include <linux/kernel.h> |
33 | #include <linux/types.h> | 32 | #include <linux/types.h> |
34 | #include <linux/sched.h> | 33 | #include <linux/sched.h> |
35 | #include <linux/pci.h> | 34 | #include <linux/pci.h> |
36 | #include <linux/init.h> | ||
37 | #include <linux/slab.h> | 35 | #include <linux/slab.h> |
38 | #include <asm/uaccess.h> | ||
39 | #include "pciehp.h" | 36 | #include "pciehp.h" |
40 | #include "pciehprm_nonacpi.h" | ||
41 | |||
42 | |||
43 | int pciehprm_get_physical_slot_number(struct controller *ctrl, u32 *sun, u8 busnum, u8 devnum) | ||
44 | { | ||
45 | |||
46 | *sun = (u8) (ctrl->first_slot); | ||
47 | return 0; | ||
48 | } | ||
49 | 37 | ||
50 | void get_hp_params_from_firmware(struct pci_dev *dev, | 38 | void get_hp_params_from_firmware(struct pci_dev *dev, |
51 | struct hotplug_params *hpp) | 39 | struct hotplug_params *hpp) |