summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>2024-06-28 15:29:42 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-07-12 10:11:43 +0200
commit79cf9c6ee44e0af7e1383365d29c64eece6665bb (patch)
treedc7b3917006288d953ac6635d3a61942ebdb54ce /include/uapi
parenta7351f0d3668b449fdc2cfd90403b1cb1f03ed6d (diff)
downloadlwn-79cf9c6ee44e0af7e1383365d29c64eece6665bb.tar.gz
lwn-79cf9c6ee44e0af7e1383365d29c64eece6665bb.zip
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: c6c49bac8770 ("media: uapi: Add Raspberry Pi PiSP Back End uAPI") Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/media/raspberrypi/pisp_be_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/media/raspberrypi/pisp_be_config.h b/include/uapi/linux/media/raspberrypi/pisp_be_config.h
index 1684ae068d4f..27d0cc417d6b 100644
--- a/include/uapi/linux/media/raspberrypi/pisp_be_config.h
+++ b/include/uapi/linux/media/raspberrypi/pisp_be_config.h
@@ -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;