Skip to contentSkip to conversation

swsusp: userland interface fix

PATCH New Rafael J. Wysocki 1 participant 1 message Jan 16, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

 kernel/power/user.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
kernel/power/user.c +2 -2
Index: linux-2.6.15-mm4/kernel/power/user.c
===================================================================
@@ -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;