File tree Expand file tree Collapse file tree 2 files changed +1
-23
lines changed Expand file tree Collapse file tree 2 files changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ config AD525X_DPOT_SPI
51
51
module will be called ad525x_dpot-spi.
52
52
53
53
config ADI_AXI_DATA_OFFLOAD
54
- bool "support Analog Devices Data Offload Engine"
54
+ tristate "support Analog Devices Data Offload Engine"
55
55
depends on HAS_IOMEM
56
56
depends on OF
57
57
help
Original file line number Diff line number Diff line change 12
12
13
13
struct axi_data_offload_state ;
14
14
15
- #ifdef CONFIG_ADI_AXI_DATA_OFFLOAD
16
-
17
15
int axi_data_offload_ctrl_bypass (struct axi_data_offload_state * st , bool en );
18
16
int axi_data_offload_ctrl_oneshot (struct axi_data_offload_state * st , bool en );
19
17
20
18
struct axi_data_offload_state * devm_axi_data_offload_get_optional (struct device * source );
21
19
22
- #else
23
-
24
- static inline int axi_data_offload_ctrl_bypass (struct axi_data_offload_state * st , bool en )
25
- {
26
- return - ENODEV ;
27
- }
28
-
29
- static inline int axi_data_offload_ctrl_oneshot (struct axi_data_offload_state * st , bool en )
30
- {
31
- return - ENODEV ;
32
- }
33
-
34
- static inline struct
35
- axi_data_offload_state * devm_axi_data_offload_get_optional (struct device * source )
36
- {
37
- return NULL ;
38
- }
39
-
40
- #endif /* CONFIG_ADI_AXI_DATA_OFFLOAD */
41
-
42
20
#endif /* ADI_AXI_DATA_OFFLOAD_H_ */
You can’t perform that action at this time.
0 commit comments