The pisp_be_config.h uAPI header file contains a bit-field definition that uses the BIT() helper macro. As the BIT() identifier is not defined in userspace, drop it from the uAPI header.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -146,7 +146,7 @@ struct pisp_be_dpc_config { · 145 unmodified lines | |||
| 146 | */ | 146 | */ |
| 147 | struct pisp_be_geq_config { | 147 | struct pisp_be_geq_config { |
| 148 | __u16 offset; | 148 | __u16 offset; |
| 149 | #define PISP_BE_GEQ_SHARPER BIT(15) | 149 | #define PISP_BE_GEQ_SHARPER (1U << 15) |
| 150 | #define PISP_BE_GEQ_SLOPE ((1 << 10) - 1) | 150 | #define PISP_BE_GEQ_SLOPE ((1 << 10) - 1) |
| 151 | /* top bit is the "sharper" flag, slope value is bottom 10 bits */ | 151 | /* top bit is the "sharper" flag, slope value is bottom 10 bits */ |
| 152 | __u16 slope_sharper; | 152 | __u16 slope_sharper; |