summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));