Skip to content

Commit 79cf9c6

Browse files
Jacopo MondiHans Verkuil
authored andcommitted
media: uapi: pisp_be_config: Drop BIT() from uAPI
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. Fixes: c6c49ba ("media: uapi: Add Raspberry Pi PiSP Back End uAPI") Signed-off-by: Jacopo Mondi <[email protected]> Reviewed-by: Tomi Valkeinen <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
1 parent a7351f0 commit 79cf9c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/uapi/linux/media/raspberrypi/pisp_be_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ struct pisp_be_dpc_config {
146146
*/
147147
struct pisp_be_geq_config {
148148
__u16 offset;
149-
#define PISP_BE_GEQ_SHARPER BIT(15)
149+
#define PISP_BE_GEQ_SHARPER (1U << 15)
150150
#define PISP_BE_GEQ_SLOPE ((1 << 10) - 1)
151151
/* top bit is the "sharper" flag, slope value is bottom 10 bits */
152152
__u16 slope_sharper;

0 commit comments

Comments
 (0)