From 78b1177a3c46410b85617db187854447b9ec1347 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Sun, 15 Jun 2003 17:43:48 +0000 Subject: build fixes. please do a test compile before committing to cvs. --- linux/drivers/media/dvb/ttpci/av7110.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'linux') 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)); -- cgit v1.2.3