drm/nouveau: Only select ACPI_VIDEO if its dependencies are met
authorBen Hutchings <ben@decadent.org.uk>
Sat, 25 Dec 2010 16:17:32 +0000 (16:17 +0000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 27 Dec 2010 00:40:47 +0000 (10:40 +1000)
commitc42988012ad9c1807b7c7a5ff855cd630094989b
tree4e832c41ab43079763803f12d38d332e80ef5b93
parent183720b8af5301e2eab7f3163f03133c5a6ad6da
drm/nouveau: Only select ACPI_VIDEO if its dependencies are met

CONFIG_ACPI_VIDEO depends on more than just CONFIG_ACPI, so add those
dependencies to the Kconfig select condition.  The case where some
dependencies fail to be satisfied should be handled correctly, because
in that case the ACPI_VIDEO symbols we use are converted into
static-inline stubs.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/Kconfig