PCI: endpoint: Allow user to create sub-directory of 'EPF Device' directory
[linux-2.6-microblaze.git] / include / linux / pci-epf.h
index b241e7d..6833e21 100644 (file)
@@ -9,6 +9,7 @@
 #ifndef __LINUX_PCI_EPF_H
 #define __LINUX_PCI_EPF_H
 
+#include <linux/configfs.h>
 #include <linux/device.h>
 #include <linux/mod_devicetable.h>
 #include <linux/pci.h>
@@ -128,6 +129,7 @@ struct pci_epf_bar {
  *   EPC device
  * @sec_epc_bar: represents the BAR of EPF device associated with secondary EPC
  * @sec_epc_func_no: unique (physical) function number within the secondary EPC
+ * @group: configfs group associated with the EPF device
  */
 struct pci_epf {
        struct device           dev;
@@ -150,6 +152,7 @@ struct pci_epf {
        struct list_head        sec_epc_list;
        struct pci_epf_bar      sec_epc_bar[6];
        u8                      sec_epc_func_no;
+       struct config_group     *group;
 };
 
 /**