diff options
Diffstat (limited to 'drivers/media/platform/omap/omap_vout_vrfb.h')
-rw-r--r-- | drivers/media/platform/omap/omap_vout_vrfb.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/media/platform/omap/omap_vout_vrfb.h b/drivers/media/platform/omap/omap_vout_vrfb.h index ffde741e0590..4c2314839b48 100644 --- a/drivers/media/platform/omap/omap_vout_vrfb.h +++ b/drivers/media/platform/omap/omap_vout_vrfb.h | |||
@@ -23,18 +23,18 @@ int omap_vout_prepare_vrfb(struct omap_vout_device *vout, | |||
23 | struct videobuf_buffer *vb); | 23 | struct videobuf_buffer *vb); |
24 | void omap_vout_calculate_vrfb_offset(struct omap_vout_device *vout); | 24 | void omap_vout_calculate_vrfb_offset(struct omap_vout_device *vout); |
25 | #else | 25 | #else |
26 | void omap_vout_free_vrfb_buffers(struct omap_vout_device *vout) { } | 26 | static inline void omap_vout_free_vrfb_buffers(struct omap_vout_device *vout) { }; |
27 | int omap_vout_setup_vrfb_bufs(struct platform_device *pdev, int vid_num, | 27 | static inline int omap_vout_setup_vrfb_bufs(struct platform_device *pdev, int vid_num, |
28 | u32 static_vrfb_allocation) | 28 | u32 static_vrfb_allocation) |
29 | { return 0; } | 29 | { return 0; }; |
30 | void omap_vout_release_vrfb(struct omap_vout_device *vout) { } | 30 | static inline void omap_vout_release_vrfb(struct omap_vout_device *vout) { }; |
31 | int omap_vout_vrfb_buffer_setup(struct omap_vout_device *vout, | 31 | static inline int omap_vout_vrfb_buffer_setup(struct omap_vout_device *vout, |
32 | unsigned int *count, unsigned int startindex) | 32 | unsigned int *count, unsigned int startindex) |
33 | { return 0; } | 33 | { return 0; }; |
34 | int omap_vout_prepare_vrfb(struct omap_vout_device *vout, | 34 | static inline int omap_vout_prepare_vrfb(struct omap_vout_device *vout, |
35 | struct videobuf_buffer *vb) | 35 | struct videobuf_buffer *vb) |
36 | { return 0; } | 36 | { return 0; }; |
37 | void omap_vout_calculate_vrfb_offset(struct omap_vout_device *vout) { } | 37 | static inline void omap_vout_calculate_vrfb_offset(struct omap_vout_device *vout) { }; |
38 | #endif | 38 | #endif |
39 | 39 | ||
40 | #endif | 40 | #endif |