diff options
author | Johannes Stezenbach <devnull@localhost> | 2004-12-02 14:02:37 +0000 |
---|---|---|
committer | Johannes Stezenbach <devnull@localhost> | 2004-12-02 14:02:37 +0000 |
commit | d390d2b04ddcd1d70bf5ae89e677ad03bd680e90 (patch) | |
tree | 69498ae46a62035b823db03cb9efe41b09511bcd /linux/drivers/media/dvb/ttpci/av7110_hw.c | |
parent | fb0763d2a0e6d78243a452049bdef5177266f6e5 (diff) | |
download | mediapointer-dvb-s2-d390d2b04ddcd1d70bf5ae89e677ad03bd680e90.tar.gz mediapointer-dvb-s2-d390d2b04ddcd1d70bf5ae89e677ad03bd680e90.tar.bz2 |
Patch by C.Y.M.: add __user and __iomem annotations, remove some
unnecessary casts (cleanups from mailine kernel)
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/av7110_hw.c')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110_hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110_hw.c b/linux/drivers/media/dvb/ttpci/av7110_hw.c index 45de1f8ee..754bb8140 100644 --- a/linux/drivers/media/dvb/ttpci/av7110_hw.c +++ b/linux/drivers/media/dvb/ttpci/av7110_hw.c @@ -999,11 +999,11 @@ int av7110_osd_cmd(struct av7110 *av7110, osd_cmd_t *dc) case OSD_SetPalette: { if (FW_VERSION(av7110->arm_app) >= 0x2618) { - ret = OSDSetPalette(av7110, (u32 *)dc->data, dc->color, dc->x0); + ret = OSDSetPalette(av7110, dc->data, dc->color, dc->x0); goto out; } else { int i, len = dc->x0-dc->color+1; - u8 *colors = (u8 *)dc->data; + u8 __user *colors = (u8 *)dc->data; u8 r, g, b, blend; for (i = 0; i<len; i++) { |