diff options
Diffstat (limited to 'drivers/pci/hotplug/shpchp_sysfs.c')
-rw-r--r-- | drivers/pci/hotplug/shpchp_sysfs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/pci/hotplug/shpchp_sysfs.c b/drivers/pci/hotplug/shpchp_sysfs.c index 807ef66899c7..f5cfbf2c047c 100644 --- a/drivers/pci/hotplug/shpchp_sysfs.c +++ b/drivers/pci/hotplug/shpchp_sysfs.c | |||
@@ -89,3 +89,8 @@ void shpchp_create_ctrl_files (struct controller *ctrl) | |||
89 | { | 89 | { |
90 | device_create_file (&ctrl->pci_dev->dev, &dev_attr_ctrl); | 90 | device_create_file (&ctrl->pci_dev->dev, &dev_attr_ctrl); |
91 | } | 91 | } |
92 | |||
93 | void shpchp_remove_ctrl_files(struct controller *ctrl) | ||
94 | { | ||
95 | device_remove_file(&ctrl->pci_dev->dev, &dev_attr_ctrl); | ||
96 | } | ||