From: Mauro Carvalho Chehab Date: Sat, 27 Oct 2012 16:46:53 +0000 (-0300) Subject: [media] ene_cir: get rid of warning: no previous prototype X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e03cd645dfecb27746c6d488c73605fef6ae635f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] ene_cir: get rid of warning: no previous prototype drivers/media/rc/ene_ir.c:332:6: warning: no previous prototype for 'ene_rx_sense_carrier' [-Wmissing-prototypes] Cc: Maxim Levitsky Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/rc/ene_ir.c b/drivers/media/rc/ene_ir.c index 7467a6da39ff..dd3c510a6ae8 100644 --- a/drivers/media/rc/ene_ir.c +++ b/drivers/media/rc/ene_ir.c @@ -329,7 +329,7 @@ static int ene_rx_get_sample_reg(struct ene_device *dev) } /* Sense current received carrier */ -void ene_rx_sense_carrier(struct ene_device *dev) +static void ene_rx_sense_carrier(struct ene_device *dev) { DEFINE_IR_RAW_EVENT(ev);