History

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.

Jacopo Mondi committed 2 years ago

Commit 79cf9c61 parent a7351f01 file · +1 −1Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/media/raspberrypi/pisp_be_config.h+1−1
@@ -146,7 +146,7 @@ struct pisp_be_dpc_config { · 145 unmodified lines
146 */146 */
147struct pisp_be_geq_config {147struct 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;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t