Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 9 Jan 2003 16:45:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 9 Jan 2003 16:45:53 -0500 Received: from [195.39.17.254] ([195.39.17.254]:8452 "EHLO Elf.ucw.cz") by vger.kernel.org with ESMTP id ; Thu, 9 Jan 2003 16:45:45 -0500 Date: Thu, 9 Jan 2003 22:52:52 +0100 From: Pavel Machek To: Rusty trivial patch monkey Russell , kernel list Subject: acpi_button misses some static's Message-ID: <20030109215252.GA13474@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Warning: Reading this can be dangerous to your mental health. Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1210 Lines: 44 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? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/