[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080805213111.GA17627@orion>
Date: Wed, 6 Aug 2008 01:31:11 +0400
From: Alexander Beregalov <a.beregalov@...il.com>
To: mchehab@...radead.org, v4l-dvb-maintainer@...uxtv.org,
video4linux-list@...hat.com, linux-kernel@...r.kernel.org
Subject: [PATCH] saa7134-core.c: fix warning
From: Alexander Beregalov <a.beregalov@...il.com>
saa7134-core.c: fix warning
drivers/media/video/saa7134/saa7134-core.c:366: warning:
'saa7134_buffer_requeue' defined but not used
Signed-off-by: Alexander Beregalov <a.beregalov@...il.com>
---
drivers/media/video/saa7134/saa7134-core.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/video/saa7134/saa7134-core.c b/drivers/media/video/saa7134/saa7134-core.c
index 75d6184..0473a79 100644
--- a/drivers/media/video/saa7134/saa7134-core.c
+++ b/drivers/media/video/saa7134/saa7134-core.c
@@ -360,7 +360,7 @@ void saa7134_buffer_timeout(unsigned long data)
}
/* resends a current buffer in queue after resume */
-
+#ifdef CONFIG_PM
static int saa7134_buffer_requeue(struct saa7134_dev *dev,
struct saa7134_dmaqueue *q)
{
@@ -384,7 +384,7 @@ static int saa7134_buffer_requeue(struct saa7134_dev *dev,
return 0;
}
-
+#endif
/* ------------------------------------------------------------------ */
int saa7134_set_dmabits(struct saa7134_dev *dev)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists