Commit 6de72bd6 authored by Michael Krufky's avatar Michael Krufky Committed by Mauro Carvalho Chehab

V4L/DVB (11766): cx23885: mark functions encoder_on_port[bc] as static inline

Signed-off-by: default avatarMichael Krufky <mkrufky@kernellabs.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 6f8bee9b
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment