/[linux-patches]/genpatches-2.6/tags/2.6.34-10/2700_nouveau-acpi-lid-open-undefined-fix.patch
Gentoo

Contents of /genpatches-2.6/tags/2.6.34-10/2700_nouveau-acpi-lid-open-undefined-fix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1771 - (show annotations) (download)
Tue Aug 31 14:13:10 2010 UTC (3 years, 10 months ago) by mpagano
File size: 546 byte(s)
2.6.34-10 release
1 --- a/drivers/gpu/drm/nouveau/nouveau_connector.c 2010-06-03 15:39:37.000000000 -0400
2 +++ b/drivers/gpu/drm/nouveau/nouveau_connector.c 2010-06-03 15:41:29.000000000 -0400
3 @@ -241,7 +241,8 @@ nouveau_connector_detect(struct drm_conn
4 if (nv_encoder && nv_connector->native_mode) {
5 unsigned status = connector_status_connected;
6
7 -#ifdef CONFIG_ACPI
8 +#if defined(CONFIG_ACPI_BUTTON) || \
9 + (defined(CONFIG_ACPI_BUTTON_MODULE) && defined(MODULE))
10 if (!nouveau_ignorelid && !acpi_lid_open())
11 status = connector_status_unknown;
12 #endif

  ViewVC Help
Powered by ViewVC 1.1.20