summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/video_detect.c
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2008-12-09 20:45:30 +0100
committerLen Brown <len.brown@intel.com>2008-12-31 05:27:04 +0100
commit8a383ef0be01e0e6e84c85f8bf35e4e6fcfb8981 (patch)
tree7c308958f7b128dad4aaf418e17e54359a7b8737 /drivers/acpi/video_detect.c
parentLinux 2.6.28 (diff)
downloadlinux-8a383ef0be01e0e6e84c85f8bf35e4e6fcfb8981.tar.xz
linux-8a383ef0be01e0e6e84c85f8bf35e4e6fcfb8981.zip
ACPI: ec.c, pci_link.c, video_detec.c: static
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>
Diffstat (limited to 'drivers/acpi/video_detect.c')
-rw-r--r--drivers/acpi/video_detect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
index f022eb6f5637..50e3d2dbf3af 100644
--- a/drivers/acpi/video_detect.c
+++ b/drivers/acpi/video_detect.c
@@ -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;