diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/v4l1-compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/v4l1-compat.c b/drivers/media/video/v4l1-compat.c index 9eac65f34bff..dcf22a3b672a 100644 --- a/drivers/media/video/v4l1-compat.c +++ b/drivers/media/video/v4l1-compat.c | |||
@@ -144,7 +144,7 @@ const static unsigned int palette2pixelformat[] = { | |||
144 | [VIDEO_PALETTE_YUV422P] = V4L2_PIX_FMT_YUV422P, | 144 | [VIDEO_PALETTE_YUV422P] = V4L2_PIX_FMT_YUV422P, |
145 | }; | 145 | }; |
146 | 146 | ||
147 | static unsigned int __attribute_pure__ | 147 | static unsigned int __pure |
148 | palette_to_pixelformat(unsigned int palette) | 148 | palette_to_pixelformat(unsigned int palette) |
149 | { | 149 | { |
150 | if (palette < ARRAY_SIZE(palette2pixelformat)) | 150 | if (palette < ARRAY_SIZE(palette2pixelformat)) |