drivers/macintosh: Various cleanups
This contains the following cleanups: - make the following needlessly global code static: - adb.c: adb_controller - adb.c: adb_init() - adbhid.c: adb_to_linux_keycodes[] (also make it const) - via-pmu68k.c: backlight_level - via-pmu68k.c: backlight_enabled - remove the following unused code: - via-pmu68k.c: sleep_notifier_list Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
f0c426bc35
commit
9b4a8dd2e9
@@ -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;
|
||||
|
Reference in New Issue
Block a user