]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ACPI: ec.c, pci_link.c, video_detec.c: static
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 9 Dec 2008 19:45:30 +0000 (20:45 +0100)
committerLen Brown <len.brown@intel.com>
Wed, 31 Dec 2008 04:27:04 +0000 (23:27 -0500)
Sparse asked whether these could be static.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/ec.c
drivers/acpi/pci_link.c
drivers/acpi/video_detect.c

index 30f3ef236ecb1b354548c5bb2570866eaa8ec6be..783acdae6af2e2eae8c7b6b73468518232814c2e 100644 (file)
@@ -370,7 +370,7 @@ unlock:
  * Note: samsung nv5000 doesn't work with ec burst mode.
  * http://bugzilla.kernel.org/show_bug.cgi?id=4980
  */
-int acpi_ec_burst_enable(struct acpi_ec *ec)
+static int acpi_ec_burst_enable(struct acpi_ec *ec)
 {
        u8 d;
        struct transaction t = {.command = ACPI_EC_BURST_ENABLE,
@@ -380,7 +380,7 @@ int acpi_ec_burst_enable(struct acpi_ec *ec)
        return acpi_ec_transaction(ec, &t, 0);
 }
 
-int acpi_ec_burst_disable(struct acpi_ec *ec)
+static int acpi_ec_burst_disable(struct acpi_ec *ec)
 {
        struct transaction t = {.command = ACPI_EC_BURST_DISABLE,
                                .wdata = NULL, .rdata = NULL,
index e52ad91ce2dc2c93b76f887cd0902806ef1af013..4869fa1b7892bf4b1b5390f410f1f2f6faebdc21 100644 (file)
@@ -912,7 +912,7 @@ static int __init acpi_irq_nobalance_set(char *str)
 
 __setup("acpi_irq_nobalance", acpi_irq_nobalance_set);
 
-int __init acpi_irq_balance_set(char *str)
+static int __init acpi_irq_balance_set(char *str)
 {
        acpi_irq_balance = 1;
        return 1;
index f022eb6f563701dd93c72d12caf37037a526b7b6..50e3d2dbf3af8dcb4dca0e280f0a7efa891d0738 100644 (file)
@@ -234,7 +234,7 @@ EXPORT_SYMBOL(acpi_video_display_switch_support);
  * To force that backlight or display output switching is processed by vendor
  * specific acpi drivers or video.ko driver.
  */
-int __init acpi_backlight(char *str)
+static int __init acpi_backlight(char *str)
 {
        if (str == NULL || *str == '\0')
                return 1;
@@ -250,7 +250,7 @@ int __init acpi_backlight(char *str)
 }
 __setup("acpi_backlight=", acpi_backlight);
 
-int __init acpi_display_output(char *str)
+static int __init acpi_display_output(char *str)
 {
        if (str == NULL || *str == '\0')
                return 1;