]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/pci/hotplug/cpci_hotplug.h
PCI: Move cpci_hotplug_init() proto to header file
[karo-tx-linux.git] / drivers / pci / hotplug / cpci_hotplug.h
index 9fff878cf0268c0c0cd4d160edf80dec51e67dd1..3ae19f774cb32337ab2abc54284f977d9b2ed150 100644 (file)
@@ -99,4 +99,12 @@ extern int cpci_led_off(struct slot * slot);
 extern int cpci_configure_slot(struct slot *slot);
 extern int cpci_unconfigure_slot(struct slot *slot);
 
+#ifdef CONFIG_HOTPLUG_PCI_CPCI
+int cpci_hotplug_init(int debug);
+void cpci_hotplug_exit(void);
+#else
+static inline int cpci_hotplug_init(int debug) { return 0; }
+static inline void cpci_hotplug_exit(void) { }
+#endif
+
 #endif /* _CPCI_HOTPLUG_H */