ACPI: video: fix build for CONFIG_ACPI=n
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 5 Sep 2010 13:51:49 +0000 (14:51 +0100)
committerLen Brown <len.brown@intel.com>
Sat, 11 Dec 2010 07:01:46 +0000 (02:01 -0500)
commitb72512ed706efb26087fcbbc5f98ed64ac1230d5
treec599f7eb2bf3b833db14b57725194b2fe6f30104
parent3353bebe7c89725ab2f476b9d8d618259402d52e
ACPI: video: fix build for CONFIG_ACPI=n

In file included from drivers/gpu/drm/i915/intel_opregion.c:30:
include/acpi/video.h:22: warning: ‘struct acpi_device’ declared inside parameter list
...
include/acpi/video.h:24: error: ‘ENODEV’ undeclared (first use in this function)

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Len Brown <len.brown@intel.com>
include/acpi/video.h