aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb/ttpci/av7110_hw.h
diff options
context:
space:
mode:
authorJaswinder Singh <jaswinder@infradead.org>2009-04-06 14:34:12 -0700
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-04-06 14:34:12 -0700
commit9137f05f7e72517d44b6b0c15b11b419ecb5d201 (patch)
tree63e1589e6dcf0a83d45e95420fd942c8821a7ae8 /drivers/media/dvb/ttpci/av7110_hw.h
parent4528e429009325790d94cd4f816b386bea8e8291 (diff)
firmware: convert av7110 driver to request_firmware()
Signed-off-by: Jaswinder Singh <jaswinder@infradead.org> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/media/dvb/ttpci/av7110_hw.h')
-rw-r--r--drivers/media/dvb/ttpci/av7110_hw.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb/ttpci/av7110_hw.h b/drivers/media/dvb/ttpci/av7110_hw.h
index ca99e5c1fc8..1634aba5cb8 100644
--- a/drivers/media/dvb/ttpci/av7110_hw.h
+++ b/drivers/media/dvb/ttpci/av7110_hw.h
@@ -390,7 +390,8 @@ static inline void iwdebi(struct av7110 *av7110, u32 config, int addr, u32 val,
}
/* buffer writes */
-static inline void mwdebi(struct av7110 *av7110, u32 config, int addr, u8 *val, int count)
+static inline void mwdebi(struct av7110 *av7110, u32 config, int addr,
+ const u8 *val, int count)
{
memcpy(av7110->debi_virt, val, count);
av7110_debiwrite(av7110, config, addr, 0, count);