]> Git Repo - linux.git/commitdiff
media: uapi: pisp_be_config: Drop BIT() from uAPI
authorJacopo Mondi <[email protected]>
Fri, 28 Jun 2024 13:29:42 +0000 (15:29 +0200)
committerHans Verkuil <[email protected]>
Fri, 12 Jul 2024 08:11:43 +0000 (10:11 +0200)
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: c6c49bac8770 ("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]>
include/uapi/linux/media/raspberrypi/pisp_be_config.h

index 1684ae068d4f159ce830527b511208785730dba5..27d0cc417d6bbfef4a9add766f077dff0cae28f1 100644 (file)
@@ -146,7 +146,7 @@ struct pisp_be_dpc_config {
  */
 struct pisp_be_geq_config {
        __u16 offset;
-#define PISP_BE_GEQ_SHARPER BIT(15)
+#define PISP_BE_GEQ_SHARPER (1U << 15)
 #define PISP_BE_GEQ_SLOPE ((1 << 10) - 1)
        /* top bit is the "sharper" flag, slope value is bottom 10 bits */
        __u16 slope_sharper;
This page took 0.061003 seconds and 4 git commands to generate.