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>
This commit is contained in:
Michael Krufky 2009-05-11 13:37:26 -03:00 committed by Mauro Carvalho Chehab
parent 6f8bee9b10
commit 6de72bd645

View File

@ -1733,12 +1733,12 @@ static irqreturn_t cx23885_irq(int irq, void *dev_id)
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;
}