aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/platform/davinci/vpss.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/media/platform/davinci/vpss.c b/drivers/media/platform/davinci/vpss.c
index d36429d1bd69..8a2f01e344ee 100644
--- a/drivers/media/platform/davinci/vpss.c
+++ b/drivers/media/platform/davinci/vpss.c
@@ -17,13 +17,8 @@
17 * 17 *
18 * common vpss system module platform driver for all video drivers. 18 * common vpss system module platform driver for all video drivers.
19 */ 19 */
20#include <linux/kernel.h>
21#include <linux/sched.h>
22#include <linux/init.h>
23#include <linux/module.h> 20#include <linux/module.h>
24#include <linux/platform_device.h> 21#include <linux/platform_device.h>
25#include <linux/spinlock.h>
26#include <linux/compiler.h>
27#include <linux/io.h> 22#include <linux/io.h>
28#include <linux/pm_runtime.h> 23#include <linux/pm_runtime.h>
29 24
@@ -101,7 +96,7 @@ enum vpss_platform_type {
101 96
102/* 97/*
103 * vpss operations. Depends on platform. Not all functions are available 98 * vpss operations. Depends on platform. Not all functions are available
104 * on all platforms. The api, first check if a functio is available before 99 * on all platforms. The api, first check if a function is available before
105 * invoking it. In the probe, the function ptrs are initialized based on 100 * invoking it. In the probe, the function ptrs are initialized based on
106 * vpss name. vpss name can be "dm355_vpss", "dm644x_vpss" etc. 101 * vpss name. vpss name can be "dm355_vpss", "dm644x_vpss" etc.
107 */ 102 */
@@ -116,7 +111,7 @@ struct vpss_hw_ops {
116 void (*set_sync_pol)(struct vpss_sync_pol); 111 void (*set_sync_pol)(struct vpss_sync_pol);
117 /* set the PG_FRAME_SIZE register*/ 112 /* set the PG_FRAME_SIZE register*/
118 void (*set_pg_frame_size)(struct vpss_pg_frame_size); 113 void (*set_pg_frame_size)(struct vpss_pg_frame_size);
119 /* check and clear interrupt if occured */ 114 /* check and clear interrupt if occurred */
120 int (*dma_complete_interrupt)(void); 115 int (*dma_complete_interrupt)(void);
121}; 116};
122 117
@@ -235,7 +230,7 @@ EXPORT_SYMBOL(vpss_clear_wbl_overflow);
235 230
236/* 231/*
237 * dm355_enable_clock - Enable VPSS Clock 232 * dm355_enable_clock - Enable VPSS Clock
238 * @clock_sel: CLock to be enabled/disabled 233 * @clock_sel: Clock to be enabled/disabled
239 * @en: enable/disable flag 234 * @en: enable/disable flag
240 * 235 *
241 * This is called to enable or disable a vpss clock 236 * This is called to enable or disable a vpss clock