media: imx-jpeg: Constify a few static structs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | media: imx-jpeg: Constify static struct v4l2_m2m_opsdrivers/ | +1 | 0 replies | |
| 2/2 | media: imx-jpeg: Constify static struct mxc_jpeg_fmtdrivers/ drivers/ | +17 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] media: imx-jpeg: Constify a few static structs
Constify two structs that are never modified.
The first patch constifies a static v4l2_m2m_ops struct which contains function pointers.
The second constifies mxc_jpeg_fmt, which contains read-only data. In order to do that, a number of function arguments, return values and pointers was made const as well.
Rikard Falkeborn (2):
media: imx-jpeg: Constify static struct v4l2_m2m_ops
media: imx-jpeg: Constify static struct mxc_jpeg_fmt
drivers/media/platform/imx-jpeg/mxc-jpeg.c | 18 +++++++++--------- drivers/media/platform/imx-jpeg/mxc-jpeg.h | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-)
Signature · 1 line
2.32.0