staging: most: video: fix registration of an empty comp core_component
[sfrench/cifs-2.6.git] / drivers / staging / most / video / video.c
index cf342eb58e10a34d0e5a9b774c10e3492ce45c2e..ad7e28ab9a4fb79ff864cc746031023be204bb0b 100644 (file)
@@ -530,7 +530,7 @@ static int comp_disconnect_channel(struct most_interface *iface,
        return 0;
 }
 
-static struct core_component comp_info = {
+static struct core_component comp = {
        .name = "video",
        .probe_channel = comp_probe_channel,
        .disconnect_channel = comp_disconnect_channel,
@@ -565,7 +565,7 @@ static void __exit comp_exit(void)
        }
        spin_unlock_irq(&list_lock);
 
-       most_deregister_component(&comp_info);
+       most_deregister_component(&comp);
        BUG_ON(!list_empty(&video_devices));
 }