Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b3e572d2eb7cdbda6f212ad177acd0c9381903b9
Commit:     b3e572d2eb7cdbda6f212ad177acd0c9381903b9
Parent:     70b30fb13bf46d7874537f5e2089bcc772559fc4
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Tue Aug 14 23:22:35 2007 +0200
Committer:  Len Brown <[EMAIL PROTECTED]>
CommitDate: Sat Aug 25 01:38:51 2007 -0400

    make drivers/acpi/scan.c:create_modalias() static
    
    This patch makes the needlessly global create_modalias() static.
    
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
 drivers/acpi/scan.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index be74347..64620d6 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -35,8 +35,9 @@ struct acpi_device_bus_id{
  * e.g. on a device with hid:IBM0001 and cid:ACPI0001 you get:
  * char *modalias: "acpi:IBM0001:ACPI0001"
 */
-int create_modalias(struct acpi_device *acpi_dev, char *modalias, int size){
-
+static int create_modalias(struct acpi_device *acpi_dev, char *modalias,
+                          int size)
+{
        int len;
 
        if (!acpi_dev->flags.hardware_id)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to