diff options
author | Michael Krufky <mkrufky@kernellabs.com> | 2009-05-11 12:37:26 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 17:21:03 -0400 |
commit | 6de72bd6453003ef14acc3bac4159f7fffff7064 (patch) | |
tree | 74aa96d00d5b338d23992517d474ec2afef28e18 /drivers | |
parent | 6f8bee9b104465a881f7e8acd5cbd3e6a0730759 (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')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-core.c | 4 |
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: | |||
1733 | return IRQ_RETVAL(handled); | 1733 | return IRQ_RETVAL(handled); |
1734 | } | 1734 | } |
1735 | 1735 | ||
1736 | int encoder_on_portb(struct cx23885_dev *dev) | 1736 | static inline int encoder_on_portb(struct cx23885_dev *dev) |
1737 | { | 1737 | { |
1738 | return cx23885_boards[dev->board].portb == CX23885_MPEG_ENCODER; | 1738 | return cx23885_boards[dev->board].portb == CX23885_MPEG_ENCODER; |
1739 | } | 1739 | } |
1740 | 1740 | ||
1741 | int encoder_on_portc(struct cx23885_dev *dev) | 1741 | static inline int encoder_on_portc(struct cx23885_dev *dev) |
1742 | { | 1742 | { |
1743 | return cx23885_boards[dev->board].portc == CX23885_MPEG_ENCODER; | 1743 | return cx23885_boards[dev->board].portc == CX23885_MPEG_ENCODER; |
1744 | } | 1744 | } |