ACPI / video: Load the module even if ACPI is disabled
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 1 Mar 2015 10:41:37 +0000 (10:41 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 4 Mar 2015 14:10:36 +0000 (15:10 +0100)
commit6e17cb12881ba8d5e456b89f072dc6b70048af36
tree15d74ea4f4ff7da5541a97b7ca300d0e7b7dfba7
parent13a7a6ac0a11197edcd0f756a035f472b42cdf8b
ACPI / video: Load the module even if ACPI is disabled

i915.ko depends upon the acpi/video.ko module and so refuses to load if
ACPI is disabled at runtime if for example the BIOS is broken beyond
repair. acpi/video provides an optional service for i915.ko and so we
should just allow the modules to load, but do no nothing in order to let
the machines boot correctly.

Reported-by: Bill Augur <bill-auger@programmer.net>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: All applicable <stable@vger.kernel.org>
Acked-by: Aaron Lu <aaron.lu@intel.com>
[ rjw: Fixed up the new comment in acpi_video_init() ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video.c