summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-11-02 14:49:00 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-11-02 14:49:00 -0200
commitbfa86c068a66cffdbabbb0656d0a5064ab668c21 (patch)
tree279b4de9e8f7ea77fa544b7615d78fdba026c9fb
parentb3d6ebe74aa17e6f4284e0e35a6cd6fb4115bbc7 (diff)
downloadmediapointer-dvb-s2-bfa86c068a66cffdbabbb0656d0a5064ab668c21.tar.gz
mediapointer-dvb-s2-bfa86c068a66cffdbabbb0656d0a5064ab668c21.tar.bz2
backport changeset e8c44319c691dfb4a0b039b095204c040df9b01a
Author: Ralf Baechle <ralf@linux-mips.org> Date: Thu Oct 18 03:07:07 2007 -0700 Replace __attribute_pure__ with __pure To be consistent with the use of attributes in the rest of the kernel replace all use of __attribute_pure__ with __pure and delete the definition of __attribute_pure__. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--linux/drivers/media/video/v4l1-compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/v4l1-compat.c b/linux/drivers/media/video/v4l1-compat.c
index 6281ad36a..d631a22a3 100644
--- a/linux/drivers/media/video/v4l1-compat.c
+++ b/linux/drivers/media/video/v4l1-compat.c
@@ -145,7 +145,7 @@ const static unsigned int palette2pixelformat[] = {
[VIDEO_PALETTE_YUV422P] = V4L2_PIX_FMT_YUV422P,
};
-static unsigned int __attribute_pure__
+static unsigned int __pure
palette_to_pixelformat(unsigned int palette)
{
if (palette < ARRAY_SIZE(palette2pixelformat))