]> err.no Git - linux-2.6/blobdiff - drivers/acpi/video.c
ACPI: move timer broadcast before busmaster disable
[linux-2.6] / drivers / acpi / video.c
index d54c83d70532476010e4781df1c1ca0eea6ee89b..44a0d9ba9bd67268747d4ef9d6355981d0120f09 100644 (file)
@@ -897,7 +897,7 @@ acpi_video_device_write_brightness(struct file *file,
 {
        struct seq_file *m = file->private_data;
        struct acpi_video_device *dev = m->private;
-       char str[4] = { 0 };
+       char str[5] = { 0 };
        unsigned int level = 0;
        int i;
 
@@ -1780,9 +1780,6 @@ static void acpi_video_bus_notify(acpi_handle handle, u32 event, void *data)
        struct input_dev *input;
        int keycode;
 
-
-       printk("video bus notify\n");
-
        if (!video)
                return;