summaryrefslogtreecommitdiff
path: root/drivers/staging/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-12 16:46:20 (GMT)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-12 16:46:20 (GMT)
commit9d01315d132469fd0a92f5a13c0a605d6ce96b21 (patch)
treeb7812c8a627bf0b7d8651b2e98ee9f38daa1f829 /drivers/staging/media
parent4a075189a3c1afcba28e68447c4d334cd6e7427d (diff)
downloadlinux-9d01315d132469fd0a92f5a13c0a605d6ce96b21.tar.xz
[media] pulse8-cec: declare function as static
drivers/staging/media/pulse8-cec/pulse8-cec.c:104:6: warning: no previous prototype for 'pulse8_irq_work_handler' [-Wmissing-prototypes] void pulse8_irq_work_handler(struct work_struct *work) ^~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/staging/media')
-rw-r--r--drivers/staging/media/pulse8-cec/pulse8-cec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/pulse8-cec/pulse8-cec.c b/drivers/staging/media/pulse8-cec/pulse8-cec.c
index 13b8d84..7d6d5ee 100644
--- a/drivers/staging/media/pulse8-cec/pulse8-cec.c
+++ b/drivers/staging/media/pulse8-cec/pulse8-cec.c
@@ -101,7 +101,7 @@ struct pulse8 {
bool started;
};
-void pulse8_irq_work_handler(struct work_struct *work)
+static void pulse8_irq_work_handler(struct work_struct *work)
{
struct pulse8 *pulse8 =
container_of(work, struct pulse8, work);