2003-01-09 21:45:53

by Pavel Machek

[permalink] [raw]
Subject: acpi_button misses some static's

Hi!

This adds them, please apply.
Pavel
--- clean/drivers/acpi/button.c 2002-12-25 23:59:15.000000000 +0100
+++ linux-swsusp/drivers/acpi/button.c 2003-01-06 00:11:23.000000000 +0100
@@ -68,8 +68,8 @@
MODULE_LICENSE("GPL");


-int acpi_button_add (struct acpi_device *device);
-int acpi_button_remove (struct acpi_device *device, int type);
+static int acpi_button_add (struct acpi_device *device);
+static int acpi_button_remove (struct acpi_device *device, int type);
static int acpi_button_open_fs(struct inode *inode, struct file *file);

static struct acpi_driver acpi_button_driver = {
@@ -236,7 +236,7 @@
}


-int
+static int
acpi_button_add (
struct acpi_device *device)
{
@@ -386,7 +386,7 @@
}


-int
+static int
acpi_button_remove (struct acpi_device *device, int type)
{
acpi_status status = 0;

--
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?


2003-01-09 22:10:18

by Andrew Grover

[permalink] [raw]
Subject: RE: acpi_button misses some static's

Already applied to my local tree, will be in the next ACPI patch, which
should be very soon.

> From: Pavel Machek [mailto:[email protected]]
> This adds them, please apply.

Thanks -- Regards -- Andy