[PATCH -mm] swsusp: userland interface fix

From: Rafael J. Wysocki
Date: Mon Jan 16 2006 - 15:47:00 EST


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 <rjw@xxxxxxx>

kernel/power/user.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6.15-mm4/kernel/power/user.c
===================================================================
--- linux-2.6.15-mm4.orig/kernel/power/user.c 2006-01-15 23:25:28.000000000 +0100
+++ linux-2.6.15-mm4/kernel/power/user.c 2006-01-16 21:16:48.000000000 +0100
@@ -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, s
return 0;
}

-int snapshot_release(struct inode *inode, struct file *filp)
+static int snapshot_release(struct inode *inode, struct file *filp)
{
struct snapshot_data *data;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/