acpi_video: Intel video is not always i915
authorAlan Cox <alan@linux.intel.com>
Wed, 25 Apr 2012 13:33:48 +0000 (14:33 +0100)
committerLen Brown <len.brown@intel.com>
Fri, 1 Jun 2012 17:40:55 +0000 (13:40 -0400)
commitc6996bdd850fb53319918487d5f674203517fdc5
tree4cae4d09a0c4b4bfd029674e4b965a3a8ce15a52
parentcfb46f433a4da97c31780e08a259fac2cb6bd61f
acpi_video: Intel video is not always i915

Stop it poking at random registers on the i740 cards that may be out there
still.

As per Matthew's feedback remove the conditional checks and never enable the
opregion handling unless an appropriate driver has been loaded.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c