]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/hvc_beat.c
driver core: Remove dpm_sysfs_remove() from error path of device_add()
[linux-2.6-omap-h63xx.git] / drivers / char / hvc_beat.c
index 6f019f19be71bcce0fe41d8bd95a20a67e173467..e74bb949c289b30e2d43d30e9a19b9583a359400 100644 (file)
@@ -97,7 +97,7 @@ static int hvc_beat_config(char *p)
        return 0;
 }
 
-static int hvc_beat_console_init(void)
+static int __init hvc_beat_console_init(void)
 {
        if (hvc_beat_useit && machine_is_compatible("Beat")) {
                hvc_instantiate(0, 0, &hvc_beat_get_put_ops);
@@ -106,7 +106,7 @@ static int hvc_beat_console_init(void)
 }
 
 /* temp */
-static int hvc_beat_init(void)
+static int __init hvc_beat_init(void)
 {
        struct hvc_struct *hp;