aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/acpi/video.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index bac956b30c57..c0e4e7423fcd 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -1961,6 +1961,7 @@ static int acpi_video_bus_add(struct acpi_device *device)
1961 input->phys = video->phys; 1961 input->phys = video->phys;
1962 input->id.bustype = BUS_HOST; 1962 input->id.bustype = BUS_HOST;
1963 input->id.product = 0x06; 1963 input->id.product = 0x06;
1964 input->dev.parent = &device->dev;
1964 input->evbit[0] = BIT(EV_KEY); 1965 input->evbit[0] = BIT(EV_KEY);
1965 set_bit(KEY_SWITCHVIDEOMODE, input->keybit); 1966 set_bit(KEY_SWITCHVIDEOMODE, input->keybit);
1966 set_bit(KEY_VIDEO_NEXT, input->keybit); 1967 set_bit(KEY_VIDEO_NEXT, input->keybit);
@@ -1990,7 +1991,7 @@ static int acpi_video_bus_add(struct acpi_device *device)
1990 video->flags.rom ? "yes" : "no", 1991 video->flags.rom ? "yes" : "no",
1991 video->flags.post ? "yes" : "no"); 1992 video->flags.post ? "yes" : "no");
1992 1993
1993 end: 1994 end:
1994 if (result) 1995 if (result)
1995 kfree(video); 1996 kfree(video);
1996 1997