Commit a55ac13f authored by Michael Gao's avatar Michael Gao Committed by Terry.Qiu

ARM: Davinci: video resizer driver ported to 2.6.23

- modified:   drivers/char/davinci_resizer.c
  modified:   drivers/char/davinci_resizer_hw.c
  modified:   include/asm-arm/arch-davinci/davinci_resizer.h
Signed-off-by: default avatarTerry.Qiu <tqiu@neuros.com.cn>
parent 0b5487c1
This diff is collapsed.
......@@ -36,7 +36,7 @@ void rsz_hardware_setup(channel_config_t * rsz_conf_chan)
/* for getting the coefficient offset */
int coeffoffset = ZERO;
dev_dbg(rsz_device, __FUNCTION__ "E\n");
dev_dbg(rsz_device, __FUNCTION__);
/* clear the VPSS_PCR register buffer overflow bits */
regw(0x003c0000, VPSS_PCR);
......@@ -107,7 +107,7 @@ void rsz_hardware_setup(channel_config_t * rsz_conf_chan)
coeffoffset = coeffoffset + COEFF_ADDRESS_OFFSET;
}
dev_dbg(rsz_device, __FUNCTION__ "L\n");
dev_dbg(rsz_device, __FUNCTION__);
}
......@@ -118,7 +118,7 @@ void rsz_hardware_setup(channel_config_t * rsz_conf_chan)
int rsz_enable(channel_config_t * rsz_conf_chan)
{
dev_dbg(rsz_device, __FUNCTION__ "E\n");
dev_dbg(rsz_device, __FUNCTION__);
/* Eanbling the resizer the setting enable bit */
rsz_conf_chan->register_config.rsz_pcr =
......@@ -130,7 +130,7 @@ int rsz_enable(channel_config_t * rsz_conf_chan)
regw(0x003c0000, VPSS_PCR);
dev_dbg(rsz_device, __FUNCTION__ "L\n");
dev_dbg(rsz_device, __FUNCTION__);
return SUCESS;
}
......
......@@ -23,7 +23,7 @@
/* include Linux files */
#include <asm/arch/hardware.h>
#include <asm/io.h>
#include <linux/config.h>
#include <linux/autoconf.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
......@@ -48,7 +48,7 @@
#include <linux/version.h>
#include <asm/irq.h>
#include <asm/io.h>
#include <asm/hardware/clock.h>
#include <asm-arm/arch-davinci/clock.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <asm/arch/hardware.h>
......
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