mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 11:40:19 -04:00
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:
committed by
Mauro Carvalho Chehab
parent
6f8bee9b10
commit
6de72bd645
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user