VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / drivers / media / radio / miropcm20-radio.c
index a4bc55c..4fd5e32 100644 (file)
@@ -61,7 +61,7 @@ static int pcm20_setfreq(struct pcm20_device *dev, unsigned long freq)
        freql = freq & 0xff;
        freqh = freq >> 8;
 
-       aci_rds_cmd(RDS_RESET, 0, 0);
+       aci_rds_cmd(RDS_RESET, NULL, 0);
        pcm20_stereo(dev, 1);
 
        return aci_rw_cmd(ACI_WRITE_TUNE, freql, freqh);
@@ -75,7 +75,7 @@ static int pcm20_getflags(struct pcm20_device *dev, __u32 *flags, __u16 *signal)
 
        if ((i=aci_rw_cmd(ACI_READ_TUNERSTATION, -1, -1))<0)
                return i;
-#if DEBUG
+#ifdef DEBUG
        printk("check_sig: 0x%x\n", i);
 #endif
        if (i & 0x80) {
@@ -107,7 +107,7 @@ static int pcm20_getflags(struct pcm20_device *dev, __u32 *flags, __u16 *signal)
 
        if ((i=aci_rds_cmd(RDS_RXVALUE, &buf, 1))<0)
                return i;
-#if DEBUG
+#ifdef DEBUG
        printk("rds-signal: %d\n", buf);
 #endif
        if (buf > 15) {
@@ -172,7 +172,7 @@ static int pcm20_do_ioctl(struct inode *inode, struct file *file,
                        unsigned long *freq = arg;
                        pcm20->freq = *freq;
                        i=pcm20_setfreq(pcm20, pcm20->freq);
-#if DEBUG
+#ifdef DEBUG
                        printk("First view (setfreq): 0x%x\n", i);
 #endif
                        return i;