]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] miropcm20-rds.c compile fixes
authorAndrew Morton <akpm@digeo.com>
Sun, 16 Mar 2003 15:23:33 +0000 (07:23 -0800)
committerDave Jones <davej@codemonkey.org.uk>
Sun, 16 Mar 2003 15:23:33 +0000 (07:23 -0800)
Patch from Adrian Bunk <bunk@fs.tum.de>

It would be nice if everyone would try to compile the patched files
before submitting patches...

drivers/media/radio/miropcm20-rds.c

index fa2eebe2ecd0e8f17dfa682f210c22c53e53eb0b..dd08c51cae802d9ead614d6783c57f7a9212f65a 100644 (file)
@@ -113,7 +113,7 @@ static struct file_operations rds_fops = {
 
 static struct miscdevice rds_miscdev = {
        .minor          = MISC_DYNAMIC_MINOR,
-       .name           = "radiotext"
+       .name           = "radiotext",
        .fops           = &rds_fops,
 };
 
@@ -128,7 +128,7 @@ static int __init miropcm20_rds_init(void)
        error = devfs_mk_symlink(NULL, "v4l/rds/radiotext", 0,
                                 "../misc/radiotext", NULL, NULL);
        if (error)
-               misc_deregister(&rds_miscdev)
+               misc_deregister(&rds_miscdev);
 
        return error;
 }
@@ -136,7 +136,7 @@ static int __init miropcm20_rds_init(void)
 static void __exit miropcm20_rds_cleanup(void)
 {
        devfs_remove("v4l/rds/radiotext");
-       misc_deregister(&rds_miscdev)
+       misc_deregister(&rds_miscdev);
 }
 
 module_init(miropcm20_rds_init);