summaryrefslogtreecommitdiff
path: root/drivers/media/video/cx23885
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@kernellabs.com>2009-05-11 13:37:26 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 18:21:03 -0300
commit6de72bd6453003ef14acc3bac4159f7fffff7064 (patch)
tree74aa96d00d5b338d23992517d474ec2afef28e18 /drivers/media/video/cx23885
parent6f8bee9b104465a881f7e8acd5cbd3e6a0730759 (diff)
V4L/DVB (11766): cx23885: mark functions encoder_on_port[bc] as static inline
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx23885')
-rw-r--r--drivers/media/video/cx23885/cx23885-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c
index eb5e3412d39b..bf7bb1c412fb 100644
--- a/drivers/media/video/cx23885/cx23885-core.c
+++ b/drivers/media/video/cx23885/cx23885-core.c
@@ -1733,12 +1733,12 @@ out:
return IRQ_RETVAL(handled);
}
-int encoder_on_portb(struct cx23885_dev *dev)
+static inline int encoder_on_portb(struct cx23885_dev *dev)
{
return cx23885_boards[dev->board].portb == CX23885_MPEG_ENCODER;
}
-int encoder_on_portc(struct cx23885_dev *dev)
+static inline int encoder_on_portc(struct cx23885_dev *dev)
{
return cx23885_boards[dev->board].portc == CX23885_MPEG_ENCODER;
}