V4L/DVB (11766): cx23885: mark functions encoder_on_port[bc] as static inline
authorMichael Krufky <mkrufky@kernellabs.com>
Mon, 11 May 2009 16:37:26 +0000 (13:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 21:21:03 +0000 (18:21 -0300)
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/cx23885-core.c

index eb5e341..bf7bb1c 100644 (file)
@@ -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;
 }