diff options
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
-rw-r--r-- | include/linux/fpga/fpga-mgr.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/fpga/fpga-mgr.h b/include/linux/fpga/fpga-mgr.h index cb5615c87504..4fb706bd9aba 100644 --- a/include/linux/fpga/fpga-mgr.h +++ b/include/linux/fpga/fpga-mgr.h | |||
@@ -89,6 +89,7 @@ enum fpga_mgr_states { | |||
89 | * @buf: contiguous buffer containing FPGA image | 89 | * @buf: contiguous buffer containing FPGA image |
90 | * @count: size of buf | 90 | * @count: size of buf |
91 | * @dev: device that owns this | 91 | * @dev: device that owns this |
92 | * @overlay: Device Tree overlay | ||
92 | */ | 93 | */ |
93 | struct fpga_image_info { | 94 | struct fpga_image_info { |
94 | u32 flags; | 95 | u32 flags; |
@@ -100,6 +101,9 @@ struct fpga_image_info { | |||
100 | const char *buf; | 101 | const char *buf; |
101 | size_t count; | 102 | size_t count; |
102 | struct device *dev; | 103 | struct device *dev; |
104 | #ifdef CONFIG_OF | ||
105 | struct device_node *overlay; | ||
106 | #endif | ||
103 | }; | 107 | }; |
104 | 108 | ||
105 | /** | 109 | /** |