The variable suspend_ops representing the set of global platform-specific
suspend-related operations, used by the PM core, need not be exported outside
of kernel/power/main.c .   Make it static.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Rafael J. Wysocki 2007-10-18 03:04:41 -07:00 коммит произвёл Linus Torvalds
Родитель e6c5eb9541
Коммит f242d9196f
2 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -79,8 +79,6 @@ struct platform_suspend_ops {
};
#ifdef CONFIG_SUSPEND
extern struct platform_suspend_ops *suspend_ops;
/**
* suspend_set_ops - set platform dependent suspend operations
* @ops: The new suspend operations to set.

Просмотреть файл

@ -32,7 +32,7 @@ DEFINE_MUTEX(pm_mutex);
/* This is just an arbitrary number */
#define FREE_PAGE_NUMBER (100)
struct platform_suspend_ops *suspend_ops;
static struct platform_suspend_ops *suspend_ops;
/**
* suspend_set_ops - Set the global suspend method table.