summaryrefslogtreecommitdiff
path: root/drivers/media/radio/radio-gemtek-pci.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-09-04 19:24:02 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-09-04 19:24:02 (GMT)
commitdb0a2901a32c44510d7d429358d017143a649a70 (patch)
tree4e4e41cf2e27aa4940f9c0711ca2a3bf7557a805 /drivers/media/radio/radio-gemtek-pci.c
parentd210baf53b699fc61aa891c177b71d7082d3b957 (diff)
parent4cce1655b26a4df1e619b2aa3d2eea1b7a6e906c (diff)
downloadlinux-db0a2901a32c44510d7d429358d017143a649a70.tar.xz
Merge branch 'fixes_stg' of ../git_old into fixes
Diffstat (limited to 'drivers/media/radio/radio-gemtek-pci.c')
-rw-r--r--drivers/media/radio/radio-gemtek-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-gemtek-pci.c b/drivers/media/radio/radio-gemtek-pci.c
index 36e754e..5cd7f03 100644
--- a/drivers/media/radio/radio-gemtek-pci.c
+++ b/drivers/media/radio/radio-gemtek-pci.c
@@ -425,7 +425,7 @@ static int __devinit gemtek_pci_probe( struct pci_dev *pci_dev, const struct pci
}
*devradio = vdev_template;
- if ( video_register_device( devradio, VFL_TYPE_RADIO , nr_radio) == -1 ) {
+ if (video_register_device(devradio, VFL_TYPE_RADIO, nr_radio) < 0) {
kfree( devradio );
goto err_video;
}