swsusp: userland interface fix
Subsystems (2)
PATCH 1/1 swsusp: userland interface fix
Hi,
Two functions in kernel/power/user.c should be static (thanks to Bartlomiej for spotting this).
Please apply.
Greetings,
Rafael
Signed-off-by Rafael J. Wysocki <[email protected]>
kernel/power/user.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
kernel/power/user.c +2 -2
@@ -36,7 +36,7 @@ static struct snapshot_data {static atomic_t device_available =ATOMIC_INIT (1 ); -int snapshot_open (struct inode *inode,struct file *filp) +static int snapshot_open (struct inode *inode,struct file *filp) {struct snapshot_data *data;
@@ -66,7 +66,7 @@ int snapshot_open(struct inode *inode, sreturn 0 ; } -int snapshot_release (struct inode *inode,struct file *filp) +static int snapshot_release (struct inode *inode,struct file *filp) {struct snapshot_data *data;