summaryrefslogtreecommitdiff
path: root/drivers/pci/hotplug/shpchp.h
diff options
context:
space:
mode:
authorrajesh.shah@intel.com <rajesh.shah@intel.com>2005-10-13 19:05:44 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 22:37:01 (GMT)
commitc2608a111b621d5cf0e4c2876d79e67333ce5341 (patch)
tree0e90b0bc85f026c74434f132760d7a4e12cf4eab /drivers/pci/hotplug/shpchp.h
parent7c8942f993dc069db0e0327a343bbec8a6e96074 (diff)
downloadlinux-c2608a111b621d5cf0e4c2876d79e67333ce5341.tar.xz
[PATCH] shpchp: fix oops at driver unload
At unload time, the shpchp driver does not remove sysfs files it had created in the driver's probe entry point. This patch fixes this problem. Signed-off-by: Rajesh Shah <rajesh.shah@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/shpchp.h')
-rw-r--r--drivers/pci/hotplug/shpchp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/hotplug/shpchp.h b/drivers/pci/hotplug/shpchp.h
index dae1543..abe2cf4 100644
--- a/drivers/pci/hotplug/shpchp.h
+++ b/drivers/pci/hotplug/shpchp.h
@@ -173,6 +173,7 @@ extern void get_hp_params_from_firmware(struct pci_dev *dev,
struct hotplug_params *hpp);
extern int shpchprm_get_physical_slot_number(struct controller *ctrl,
u32 *sun, u8 busnum, u8 devnum);
+extern void shpchp_remove_ctrl_files(struct controller *ctrl);
/* Global variables */