drivers/macintosh: Various cleanups
[firefly-linux-kernel-4.4.55.git] / drivers / macintosh / adb.c
index dbaad39020a1bc75b5ef48bc3c837d9c45431c2b..61b62a6f681b7fce7fa32178df6acdb9fcc2b0bd 100644 (file)
@@ -46,7 +46,6 @@
 #endif
 
 
-EXPORT_SYMBOL(adb_controller);
 EXPORT_SYMBOL(adb_client_list);
 
 extern struct adb_driver via_macii_driver;
@@ -80,7 +79,7 @@ static struct adb_driver *adb_driver_list[] = {
 
 static struct class *adb_dev_class;
 
-struct adb_driver *adb_controller;
+static struct adb_driver *adb_controller;
 BLOCKING_NOTIFIER_HEAD(adb_client_list);
 static int adb_got_sleep;
 static int adb_inited;
@@ -290,7 +289,7 @@ static int adb_resume(struct platform_device *dev)
 }
 #endif /* CONFIG_PM */
 
-int __init adb_init(void)
+static int __init adb_init(void)
 {
        struct adb_driver *driver;
        int i;