summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci
diff options
context:
space:
mode:
authorAndreas Oberritter <devnull@localhost>2003-06-15 17:43:48 +0000
committerAndreas Oberritter <devnull@localhost>2003-06-15 17:43:48 +0000
commit78b1177a3c46410b85617db187854447b9ec1347 (patch)
treec5eee51b832ae66fb824f9efa05db00455aa82cd /linux/drivers/media/dvb/ttpci
parent15f26b4337ed1ccf2230590e7d6b744d4b481898 (diff)
downloadmediapointer-dvb-s2-78b1177a3c46410b85617db187854447b9ec1347.tar.gz
mediapointer-dvb-s2-78b1177a3c46410b85617db187854447b9ec1347.tar.bz2
build fixes. please do a test compile before committing to cvs.
Diffstat (limited to 'linux/drivers/media/dvb/ttpci')
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c
index 4551e101e..801c77785 100644
--- a/linux/drivers/media/dvb/ttpci/av7110.c
+++ b/linux/drivers/media/dvb/ttpci/av7110.c
@@ -112,8 +112,8 @@ static int hw_sections = 1;
int av7110_num = 0;
-#define FW_CI_LL_SUPPORT(arm_app) (arm_app & 0x80000000)
-#define FW_VERSION(arm_app) (arm_app & 0x0000FFFF)
+#define FW_CI_LL_SUPPORT(arm_app) ((arm_app) & 0x80000000)
+#define FW_VERSION(arm_app) ((arm_app) & 0x0000FFFF)
/****************************************************************************
* DEBI functions
@@ -1696,7 +1696,7 @@ OSDSetColor(struct av7110 *av7110, u8 color, u8 r, u8 g, u8 b, u8 blend)
}
static int
-OSDSetPalette(av7110_t *av7110, u32 *colors, u8 first, u8 last)
+OSDSetPalette(struct av7110 *av7110, u32 *colors, u8 first, u8 last)
{
int i;
int length = last - first + 1;
@@ -4543,7 +4543,7 @@ int av7110_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_data *p
bootarm(av7110);
firmversion(av7110);
- if (FW_VERSION(av7110->arm_app)<0x2501) {
+ if (FW_VERSION(av7110->arm_app)<0x2501)
printk ("av7110: Warning, firmware version 0x%04x is too old. "
"System might be unstable!\n", FW_VERSION(av7110->arm_app));