struct slot *alloc_slot_struct(struct device_node *dn, int drc_index, char *drc_name, int power_domain);
#include <linux/pci_hotplug.h>
#define DR_INDICATOR 9002
#define DR_ENTITY_SENSE 9003
extern bool rpaphp_debug;
#define dbg(format, arg...) \
printk(KERN_DEBUG "%s: " format, \
#define err(format, arg...) printk(KERN_ERR "%s: " format, MY_NAME, ## arg)
#define info(format, arg...) printk(KERN_INFO "%s: " format, MY_NAME, ## arg)
#define warn(format, arg...) printk(KERN_WARNING "%s: " format, MY_NAME, ## arg)
#define MAX_DRC_NAME_LEN 64
struct list_head rpaphp_slot_list;